mojic

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

commit 5639ee68fe7dd81527a2d8603949c4c0b5baf471
parent fe29795f65eeffd1a6428deaea4466df962bceb0
Author: AMIT DUTTA <amitdutta4255@gmail.com>
Date:   Tue, 27 Jan 2026 20:59:32 +0530

Add Vercel configuration for rewrites and headers
Diffstat:
Avercel.json | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/vercel.json b/vercel.json @@ -0,0 +1,18 @@ +{ + "version": 2, + "rewrites": [ + { "source": "/api/(.*)", "destination": "/api/index.py" }, + { "source": "/(.*)", "destination": "/index.html" } + ], + "headers": [ + { + "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" } + ] + } + ] +}
© 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