mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-06 12:47:44 +00:00
fix: Disable prerendering on redirect routes (#551)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
|
||||
export const prerender = false;
|
||||
|
||||
export const load = async () => {
|
||||
redirect(308, '/packages');
|
||||
};
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
|
||||
export const prerender = false;
|
||||
|
||||
export const load = async () => {
|
||||
redirect(308, '/packages');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user