feat: enhance CORS handling to support dynamic loopback origins and update trusted origins logic
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"vars": {
|
||||
"NODE_ENV": "production",
|
||||
"BETTER_AUTH_URL": "https://cfw-auth.bowong.cc",
|
||||
"TRUSTED_ORIGINS": "https://mixvideo.bowong.cc,https://admin.mixvideo.bowong.cc,https://app.ad1dollar.com,https://web.bowong.cc",
|
||||
"TRUSTED_ORIGINS": "https://mixvideo.bowong.cc,https://admin.mixvideo.bowong.cc,https://app.ad1dollar.com,https://web.bowong.cc,https://cfw-gateway.bowong.cc,http://localhost,http://127.0.0.1",
|
||||
"MAIL_PROVIDER": "resend",
|
||||
"MAIL_FROM": "support@bowong.ai",
|
||||
"CAPTCHA_PROVIDER": "cloudflare-turnstile",
|
||||
|
||||
Reference in New Issue
Block a user