fix: rubah vercel.json
This commit is contained in:
parent
194905e621
commit
37664feeef
|
@ -2,7 +2,7 @@
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"builds": [
|
"builds": [
|
||||||
{
|
{
|
||||||
"src": "index.py",
|
"src": "api/main.py",
|
||||||
"use": "@vercel/python",
|
"use": "@vercel/python",
|
||||||
"config": { "runtime": "python3.10" }
|
"config": { "runtime": "python3.10" }
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"src": "/(.*)",
|
"src": "/(.*)",
|
||||||
"dest": "index.py"
|
"dest": "api/main.py"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue