chore: 🚀 添加 edgeone.json

This commit is contained in:
不如摸鱼去 2025-08-30 00:24:11 +08:00
parent d86dd18b49
commit 3fec24de00

20
docs/public/edgeone.json Normal file
View File

@ -0,0 +1,20 @@
{
"redirects": [
{
"source": "$wwwhost",
"destination": "$host",
"statusCode": 301
}
],
"headers": [
{
"source": "/*.txt",
"headers": [
{
"key": "Content-Type",
"value": "text/plain; charset=utf-8"
}
]
}
]
}