From 707b91919355efbcc88033318e7361f3388e65b5 Mon Sep 17 00:00:00 2001 From: Yann-Thomas Le Moigne Date: Mon, 6 May 2024 21:24:56 +0200 Subject: [PATCH] Correction base path error --- src/routes/+page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/+page.ts b/src/routes/+page.ts index 1810881..96dc6a0 100644 --- a/src/routes/+page.ts +++ b/src/routes/+page.ts @@ -2,5 +2,5 @@ import { redirect } from '@sveltejs/kit'; import { base } from '$app/paths'; export async function load({ params }) { - return redirect(301, `/${base}/posts`); + return redirect(301, `${base}/posts`); } \ No newline at end of file