Revert "用ai试试"

This reverts commit f70eef909467a19d6b439c6570ed1266cf5302d9.
This commit is contained in:
MoeFurina
2025-08-24 23:10:11 +08:00
committed by ImFurina
parent 96f1a59d20
commit a1d0a7b699
4 changed files with 56 additions and 122 deletions
-26
View File
@@ -1,26 +0,0 @@
{
"functions": {
"*": {
"memory": 1024,
"runtime": "nodejs18",
"timeout": 30
}
},
"routes": [
{
"src": "/(.*)",
"dest": "/api/[...default]",
"headers": {
"Access-Control-Allow-Credentials": "true",
"Access-Control-Allow-Origin": "*",
"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"
}
}
],
"buildCommand": "cp -r module functions/api/ && cp -r util functions/api/ && cp -r plugins functions/api/ && cp -r public functions/api/ && cp -r data functions/api/ && cp server.js functions/api/ && cp package.json functions/api/ && cd functions/api && npm install --only=production",
"outputDirectory": "functions/api",
"dev": {
"command": "npm install && npm start"
}
}