mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-25 07:49:37 +02:00
chore: Update Vercel configuration to use correct file paths
This commit is contained in:
parent
5616012087
commit
cdf61b06e0
1 changed files with 3 additions and 16 deletions
|
@ -1,28 +1,15 @@
|
|||
{
|
||||
"version": 2,
|
||||
"builds": [
|
||||
{
|
||||
"src": "demo/wsgi.py",
|
||||
"src": "djangoprojectname/wsgi.py",
|
||||
"use": "@vercel/python",
|
||||
"config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
|
||||
},
|
||||
{
|
||||
"src": "build_files.sh",
|
||||
"use": "@vercel/static-build",
|
||||
"config": {
|
||||
"distDir": "ui/staticfiles"
|
||||
}
|
||||
}
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"src": "/static/(.*)",
|
||||
"dest": "/static/$1"
|
||||
},
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "demo/wsgi.py"
|
||||
"dest": "djangoprojectname/wsgi.py"
|
||||
}
|
||||
],
|
||||
"outputDirectory": "ui/staticfiles"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue