chore: 尝试适配更多平台的部署

This commit is contained in:
MoeFurina
2025-08-24 23:10:06 +08:00
committed by ImFurina
parent c6bc299bbc
commit 771777b669
3 changed files with 54 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"functions": [
{
"path": "/(.*)",
"method": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
"handler": "index.js",
"headers": {
"Access-Control-Allow-Credentials": "true",
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
"Access-Control-Allow-Headers": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
}
}
]
}