fix: rubah vercel.json dan tambah runtime
This commit is contained in:
parent
1dd762ba3c
commit
c222661c5a
|
@ -0,0 +1 @@
|
||||||
|
python-3.10.6
|
|
@ -1,14 +1,16 @@
|
||||||
{
|
{
|
||||||
"functions": {
|
"builds": [
|
||||||
"api/index.py": {
|
{
|
||||||
"runtime": "python3.10"
|
"src": "api/main.py",
|
||||||
|
"use": "@vercel/python"
|
||||||
}
|
}
|
||||||
},
|
],
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
{
|
||||||
"src": "/(.*)",
|
"src": "/(.*)",
|
||||||
"dest": "/api/index.py"
|
"dest": "/api/main.py"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue