fix:memindahkan requimentn ke api dan rubah vercel.json
This commit is contained in:
parent
bce5d294f4
commit
dd2b3a4dbb
|
@ -1,14 +1,13 @@
|
|||
{
|
||||
"builds":[
|
||||
{
|
||||
"src": "index.py",
|
||||
"use": "@vercel/python"
|
||||
}
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "index.py"
|
||||
}
|
||||
]
|
||||
"functions": {
|
||||
"api/index.py": {
|
||||
"runtime": "python3.11"
|
||||
}
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "/api/index.py"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue