chore: Update Vercel configuration to use correct file paths
This commit is contained in:
@@ -1,28 +1,15 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
|
||||||
"builds": [
|
"builds": [
|
||||||
{
|
{
|
||||||
"src": "demo/wsgi.py",
|
"src": "djangoprojectname/wsgi.py",
|
||||||
"use": "@vercel/python",
|
"use": "@vercel/python",
|
||||||
"config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
|
"config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "build_files.sh",
|
|
||||||
"use": "@vercel/static-build",
|
|
||||||
"config": {
|
|
||||||
"distDir": "ui/staticfiles"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"routes": [
|
"routes": [
|
||||||
{
|
|
||||||
"src": "/static/(.*)",
|
|
||||||
"dest": "/static/$1"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"src": "/(.*)",
|
"src": "/(.*)",
|
||||||
"dest": "demo/wsgi.py"
|
"dest": "djangoprojectname/wsgi.py"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"outputDirectory": "ui/staticfiles"
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user