feat: deply config

This commit is contained in:
xkeyC 2025-12-20 16:40:53 +08:00
parent 66ab76e784
commit 6d2bb89c64

39
web/edgeone.json Normal file
View File

@ -0,0 +1,39 @@
{
"headers": [
{
"source": "/*.mjs",
"headers": [
{
"key": "Content-Type",
"value": "application/javascript"
},
{
"key": "Cache-Control",
"value": "max-age=43200"
}
]
},
{
"source": "/*.wasm",
"headers": [
{
"key": "Content-Type",
"value": "application/wasm"
},
{
"key": "Cache-Control",
"value": "max-age=43200"
}
]
},
{
"source": "/*",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=43200"
}
]
}
]
}