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:
parent
5616012087
commit
cdf61b06e0
1 changed files with 3 additions and 16 deletions
|
@ -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"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue