aboutsummaryrefslogtreecommitdiff
path: root/vercel.json
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-08-24 18:41:24 -0400
committerBobby <[email protected]>2024-08-24 18:41:24 -0400
commitbe75a17facf9adbca06733713aec3a277f327881 (patch)
tree230a8c93c5b7899844841c940744bc1cfb56e0f7 /vercel.json
parent3ebba9a29200f2769f270b8798837ccc5aad6e45 (diff)
downloadyugen-be75a17facf9adbca06733713aec3a277f327881.tar.xz
yugen-be75a17facf9adbca06733713aec3a277f327881.zip
scaffolding
Diffstat (limited to 'vercel.json')
-rw-r--r--vercel.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/vercel.json b/vercel.json
new file mode 100644
index 0000000..87e3a80
--- /dev/null
+++ b/vercel.json
@@ -0,0 +1,30 @@
+{
+ "version": 2,
+ "builds": [
+ {
+ "src": "yugen/wsgi.py",
+ "use": "@vercel/python",
+ "config": {
+ "maxLambdaSize": "15mb",
+ "runtime": "python3.9"
+ }
+ },
+ {
+ "src": "build_files.sh",
+ "use": "@vercel/static-build",
+ "config": {
+ "distDir": "staticfiles"
+ }
+ }
+ ],
+ "routes": [
+ {
+ "src": "/static/(.*)",
+ "dest": "/static/$1"
+ },
+ {
+ "src": "/(.*)",
+ "dest": "yugen/wsgi.py"
+ }
+ ]
+} \ No newline at end of file