From 813a2fb6d1f3782df8123689dba075486130a339 Mon Sep 17 00:00:00 2001 From: Joshua Melville Date: Fri, 15 Nov 2024 17:24:07 +0200 Subject: [PATCH] make the redirect permanent to make linkinator happy --- apps/documentation/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documentation/app/page.tsx b/apps/documentation/app/page.tsx index 5bf7e5c..16799b6 100644 --- a/apps/documentation/app/page.tsx +++ b/apps/documentation/app/page.tsx @@ -4,5 +4,5 @@ export default function RootPage() { // Redirect to en for now. This is a limitation of static site generation // that we need to work around by creating a client component to read the // navigator.language and redirect to the appropriate locale. - redirect("/en"); + redirect("/en", { permanent: true }); }