Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: add rewrites

Jonathan Summers-Muir7367c3e343e3
diff --git a/vercel-local.json b/vercel-local.json
index 0a7b60c12c6..6a55a0c5134 100644
--- a/vercel-local.json
+++ b/vercel-local.json
@@ -14,6 +14,11 @@
{ "source": "/new/:match*", "destination": "http://localhost:3000/new/:match*" },
{ "source": "/", "destination": "http://localhost:3000/new" },
{ "source": "/beta", "destination": "http://localhost:3000/new/beta" },
+ { "source": "/blog", "destination": "http://localhost:3000/new/blog" },
+ {
+ "source": "/blog/:match*",
+ "destination": "http://localhost:3000/new/blog/:match*"
+ },
{ "source": "/:name.:extension", "destination": "http://localhost:3005/:name.:extension" },
{
"source": "/:asset/:name.:extension",
diff --git a/vercel.json b/vercel.json
index e3048bfee81..746a5c7370c 100644
--- a/vercel.json
+++ b/vercel.json
@@ -17,6 +17,11 @@
"rewrites": [
{ "source": "/new/:match*", "destination": "https://www-internal.supabase.io/new/:match*" },
{ "source": "/", "destination": "https://www-internal.supabase.io/new" },
+ { "source": "/blog", "destination": "https://www-internal.supabase.io/new/blog" },
+ {
+ "source": "/blog/:match*",
+ "destination": "https://www-internal.supabase.io/new/blog/:match*"
+ },
{ "source": "/beta", "destination": "https://www-internal.supabase.io/new/beta" },
{ "source": "/:match*", "destination": "https://docs-rose.vercel.app/:match*" }
],
@@ -186,7 +191,6 @@
"source": "/blog/2021/03/08/toad-a-link-shorterner-with-simple-apis-for-low-coders",
"destination": "/new/blog/2021-03-08-toad-a-link-shorterner-with-simple-apis-for-low-coderw"
},
-
{
"source": "/blog/2021/03/11/using-supabase-replit",
"destination": "/new/blog/2021-03-11-using-supabase-repliw"