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