From 7b2b7e8407d9f7b7b2c57ce1f2efbf75ef4b6e8f Mon Sep 17 00:00:00 2001 From: En Zhou Date: Sat, 2 Sep 2023 17:28:50 -0600 Subject: [PATCH] Update vercel.json --- vercel.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 7ca0fca..6f0db2a 100644 --- a/vercel.json +++ b/vercel.json @@ -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"