1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-30 10:19:37 +02:00

chore: Update Vercel configuration to use correct file paths

This commit is contained in:
Sean Morley 2024-07-08 12:04:24 -04:00
parent 5616012087
commit cdf61b06e0

View file

@ -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"
} }