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