fix: vercel dev rewrites
This commit is contained in:
parent
81fcb6434c
commit
ecf1c0f660
145
vercel.json
145
vercel.json
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"$schema": "https://openapi.vercel.sh/vercel.json",
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/__debug_proxy",
|
||||
|
|
@ -10,35 +11,163 @@
|
|||
},
|
||||
{
|
||||
"source": "/share/:path*",
|
||||
"destination": "https://follow-external-ssr.vercel.app/share/:path*"
|
||||
"destination": "https://follow-external-ssr.vercel.app/share/:path*",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "app.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/og/:path*",
|
||||
"destination": "https://follow-external-ssr.vercel.app/og/:path*"
|
||||
"destination": "https://follow-external-ssr.vercel.app/og/:path*",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "app.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/login",
|
||||
"destination": "https://follow-external-ssr.vercel.app/login"
|
||||
"destination": "https://follow-external-ssr.vercel.app/login",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "app.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/register",
|
||||
"destination": "https://follow-external-ssr.vercel.app/register"
|
||||
"destination": "https://follow-external-ssr.vercel.app/register",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "app.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/forget-password",
|
||||
"destination": "https://follow-external-ssr.vercel.app/forget-password"
|
||||
"destination": "https://follow-external-ssr.vercel.app/forget-password",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "app.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/reset-password",
|
||||
"destination": "https://follow-external-ssr.vercel.app/reset-password"
|
||||
"destination": "https://follow-external-ssr.vercel.app/reset-password",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "app.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/external-dist/:path*",
|
||||
"destination": "https://follow-external-ssr.vercel.app/external-dist/:path*"
|
||||
"destination": "https://follow-external-ssr.vercel.app/external-dist/:path*",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "app.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/dist-external/:path*",
|
||||
"destination": "https://follow-external-ssr.vercel.app/dist-external/:path*"
|
||||
"destination": "https://follow-external-ssr.vercel.app/dist-external/:path*",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "app.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/share/:path*",
|
||||
"destination": "https://follow-external-ssr-dev.vercel.app/share/:path*",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "dev.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/og/:path*",
|
||||
"destination": "https://follow-external-ssr-dev.vercel.app/og/:path*",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "dev.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/login",
|
||||
"destination": "https://follow-external-ssr-dev.vercel.app/login",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "dev.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/register",
|
||||
"destination": "https://follow-external-ssr-dev.vercel.app/register",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "dev.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/forget-password",
|
||||
"destination": "https://follow-external-ssr-dev.vercel.app/forget-password",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "dev.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/reset-password",
|
||||
"destination": "https://follow-external-ssr-dev.vercel.app/reset-password",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "dev.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/external-dist/:path*",
|
||||
"destination": "https://follow-external-ssr-dev.vercel.app/external-dist/:path*",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "dev.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/dist-external/:path*",
|
||||
"destination": "https://follow-external-ssr-dev.vercel.app/dist-external/:path*",
|
||||
"has": [
|
||||
{
|
||||
"type": "host",
|
||||
"value": "dev.follow.is"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/((?!assets|vendor|locales|dist-external|external-dist/).*)",
|
||||
|
|
|
|||
Loading…
Reference in New Issue