From 53e68612bdc91764199c260bab2dd91faee2cbf1 Mon Sep 17 00:00:00 2001 From: Thejas775 Date: Tue, 14 Jul 2026 17:28:17 +0530 Subject: [PATCH] =?UTF-8?q?fix(dashboard):=20redirect=20/docs=20+=20/self-?= =?UTF-8?q?host=20=E2=86=92=20/docs/quickstart-cloud=20(fix=20404s)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Marketing nav links to /docs and /self-host but no page exists there (only /docs/quickstart-cloud + /docs/case-studies/*), so they 404. Temporary 307 redirects to the real docs entry until dedicated pages are authored. Co-Authored-By: Claude Opus 4.8 (1M context) --- dashboard/next.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dashboard/next.config.js b/dashboard/next.config.js index 8ee944a..6501c5b 100644 --- a/dashboard/next.config.js +++ b/dashboard/next.config.js @@ -30,6 +30,17 @@ const CORS_HEADERS = [ const nextConfig = { // Vercel Hobby tier compatible + // + // Marketing nav links to /docs and /self-host, but no page exists at those + // paths (only /docs/quickstart-cloud + /docs/case-studies/*), so they 404. + // Temporary redirects (307) send them to the real docs entry point until a + // dedicated /docs index + /self-host page are authored — then drop these. + async redirects() { + return [ + { source: '/docs', destination: '/docs/quickstart-cloud', permanent: false }, + { source: '/self-host', destination: '/docs/quickstart-cloud', permanent: false }, + ] + }, async headers() { return [ {