mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
try disabling hsts
hsts does a 307 which does not preserve referrer header. If this is disabled, vercel will send a 308 which will preserve the referrer header (i think)
This commit is contained in:
1 parent
00b0afb781
commit
45a76ff97f
2 files changed
+22
No files matched your search
@@ -1,4 +1,15 @@
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Strict-Transport-Security",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"rewrites": [
|
||||
{ "source": "/new/:match*", "destination": "http://localhost:3000/new/:match*" },
|
||||
{ "source": "/", "destination": "http://localhost:3000/new" },
|
||||
|
||||
+11
@@ -1,4 +1,15 @@
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Strict-Transport-Security",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"rewrites": [
|
||||
{ "source": "/new/:match*", "destination": "https://www.supabase.vercel.app/new/:match*" },
|
||||
{ "source": "/", "destination": "https://www.supabase.vercel.app/new" },
|
||||
|
||||
Reference in new issue
Block a user