NeteaseCloudMusicApiEnhanced/edgeone.config.json
MoeFurina 29ecf0ba11 Revert "fix: 修复edgeone侦测问题"
This reverts commit afe0569bad9f615af2366c029b2193b47bdc9299.
2025-08-24 23:10:12 +08:00

34 lines
745 B
JSON

{
"functions": {
"*": {
"memory": 1024,
"runtime": "nodejs18"
}
},
"routes": [
{
"src": "/(.*)",
"dest": "/api/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"
}
}
],
"build": {
"command": "pnpm install --registry=https://registry.npmmirror.com",
"include": [
"api",
"module",
"util",
"plugins",
"public",
"data",
"server.js",
"package.json",
".env"
]
}
}