From 8b51ee66fc9247bd0188f64616997d8534da67ed Mon Sep 17 00:00:00 2001 From: Andrew4Coding Date: Fri, 11 Oct 2024 14:32:13 +0700 Subject: [PATCH] feat: vercel json --- vercel.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index b40a4bf..fe11263 100644 --- a/vercel.json +++ b/vercel.json @@ -4,6 +4,13 @@ "src": "eventyog/wsgi.py", "use": "@vercel/python", "config": { "maxLambdaSize": "15mb", "runtime": "python3.11.3" } + }, + { + "src": "build_files.sh", + "use": "@vercel/static-build", + "config": { + "distDir": "staticfiles" + } } ], "routes": [ @@ -11,5 +18,6 @@ "src": "/(.*)", "dest": "eventyog/wsgi.py" } - ] + ], + "outputDirectory": "staticfiles" }