Update directory

This commit is contained in:
2024-01-13 22:28:53 +07:00
parent 5d60a1c697
commit c29b153e30
3 changed files with 3 additions and 10 deletions
View File
+1 -1
View File
@@ -5,7 +5,7 @@
"type": "module",
"main": "api/server.js",
"scripts": {
"start-flask": "python main.py",
"start-flask": "python api/main.py",
"start-express": "nodemon api/server.js",
"start":"npm run start-proxy & npm run start-flask & npm run start-express"
},
+1 -8
View File
@@ -1,17 +1,10 @@
{
"functions": {
"main.py": {
"api/main.py": {
"runtime": "vercel/python@4.1.0"
},
"api/server.js": {
"memory": 1024,
"includeFiles": "db.json"
}
},
"rewrites": [
{
"source": "/(.*)",
"destination": "api/server.js"
}
]
}