Skip to content
Merged

Main #119

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions dashboard/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
{
Expand Down
Loading