From 1e8990e9fb9cc6a1120a56df75922000e3f98292 Mon Sep 17 00:00:00 2001 From: "bintang.hari" <bintang.hari@ui.ac.id> Date: Sat, 9 Sep 2023 15:46:03 +0700 Subject: [PATCH] try again --- vercel.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..5801da1 --- /dev/null +++ b/vercel.json @@ -0,0 +1,30 @@ +{ + "builds": [ + { + "src": "mysite/wsgi.py", + "use": "@vercel/python", + "config": { + "maxLambdaSize": "15mb", + "runtime": "python3.9" + } + }, + { + "src": "deployment.sh", + "use": "@vercel/static-build", + "config": { + "distDir": "staticfiles_build" + } + } + ], + "routes": [ + { + "src": "/static/(.*)", + "dest": "/static/$1" + }, + { + "src": "/(.*)", + "dest": "mysite/wsgi.py" + } + ] + } + \ No newline at end of file -- GitLab