mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43:10 +00:00
34 lines
745 B
JSON
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"
|
|
]
|
|
}
|
|
}
|