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:
Inian Parameshwaran committed 2021-02-16 17:21:07 +05:30
1 parent 00b0afb781
commit 45a76ff97f
2 files changed
+22

No files matched your search

+11
View File
@@ -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
View File
@@ -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" },