Skip to content

Commit

Permalink
Update vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-en authored Sep 2, 2023
1 parent 258efa4 commit 7b2b7e8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@
"builds": [
{
"src": "turf_portal/wsgi.py",
"use": "@vercel/python"
"use": "@vercel/python",
"config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
},
{
"src": "build_files.sh",
"use": "@vercel/static-build",
"config": {
"distDir": "staticfiles_build"
}
}
],
"routes": [
{
"src": "/static/(.*)",
"dest": "/static/$1"
},
{
"src": "/(.*)",
"dest": "turf_portal/wsgi.py"
Expand Down

0 comments on commit 7b2b7e8

Please sign in to comment.