feat: 尝试支持edgeone

This commit is contained in:
MoeFurina
2025-08-24 23:10:09 +08:00
committed by ImFurina
parent 598c887be8
commit e3a451780a
3 changed files with 56 additions and 14 deletions
-14
View File
@@ -1,14 +0,0 @@
{
"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"
}
}
]
}