Skip to content

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

Update next.config.js

Jonathan Summers-Muir913473e52f3d
diff --git a/apps/www/next.config.js b/apps/www/next.config.js
index 6eddef54761..0c277b47855 100644
--- a/apps/www/next.config.js
+++ b/apps/www/next.config.js
@@ -48,6 +48,12 @@ module.exports = withMDX({
source: '/docs',
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}`,
},
+ {
+ // redirect /docs/
+ // trailing slash caused by docusaurus issue with multizone
+ source: '/docs/',
+ destination: `${process.env.NEXT_PUBLIC_DOCS_URL}`,
+ },
{
source: '/docs/:path*',
destination: `${process.env.NEXT_PUBLIC_DOCS_URL}/:path*`,