mojic

Obfuscate C source code into e...
Log | Files | Refs | README | LICENSE

commit c78dc857269a2e0a281998ba35650f34aaa27644
parent 1ba3362b6dacc3919df437b6d36296d2f275d0a0
Author: AMIT DUTTA <amitdutta4255@gmail.com>
Date:   Tue, 27 Jan 2026 21:24:10 +0530

Update vercel.json to include builds and rewrites
Diffstat:
Mvercel.json | 26+++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/vercel.json b/vercel.json @@ -1,19 +1,23 @@ { "version": 2, - "rewrites": [ - { "source": "/api", "destination": "/api/index.py" }, - { "source": "/api/(.*)", "destination": "/api/index.py" }, - { "source": "/(.*)", "destination": "/index.html" } + "builds": [ + { + "src": "api/index.py", + "use": "@vercel/python" + }, + { + "src": "index.html", + "use": "@vercel/static" + } ], - "headers": [ + "rewrites": [ { "source": "/api/(.*)", - "headers": [ - { "key": "Access-Control-Allow-Credentials", "value": "true" }, - { "key": "Access-Control-Allow-Origin", "value": "*" }, - { "key": "Access-Control-Allow-Methods", "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT" }, - { "key": "Access-Control-Allow-Headers", "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" } - ] + "destination": "/api/index.py" + }, + { + "source": "/(.*)", + "destination": "/index.html" } ] }
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror