From 1e7c76ffe8f60ddbc380e8a677c78c417eed2f76 Mon Sep 17 00:00:00 2001 From: Thibault Le Ouay Date: Fri, 5 Jun 2026 14:32:38 +0200 Subject: [PATCH] chore: redirect docs (#2233) --- apps/web/next.config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index cf27cb8d..0c94cd36 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -33,7 +33,7 @@ const homepageLinkHeader = [ '; rel="api-catalog"; type="application/linkset+json"', '; rel="agent-skills"; type="application/json"', '; rel="mcp-server"; type="application/json"', - '; rel="service-doc"; type="text/html"', + '; rel="service-doc"; type="text/html"', '; rel="service-desc"; type="application/json"', '; rel="describedby"; type="text/plain"', '; rel="alternate"; type="text/plain"; title="llms-full"', @@ -99,6 +99,12 @@ const nextConfig: NextConfig = { }, async redirects() { return [ + { + source: "/:path*", + has: [{ type: "host", value: "docs.openstatus.dev" }], + destination: "https://www.openstatus.dev/docs/:path*", + permanent: true, + }, { source: "/legal/terms", destination: "/terms", -- 2.51.2