Skip to content

Commit

Permalink
Correction base path error
Browse files Browse the repository at this point in the history
  • Loading branch information
yatho committed May 6, 2024
1 parent 524dc47 commit 707b919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
}

0 comments on commit 707b919

Please sign in to comment.