diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000000000000000000000000000000000000..5801da10a421e4d639b0f62924221c0cf12b35fc --- /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