Redirect to new site
This commit is contained in:
parent
554505e216
commit
3b0e352c8e
7
src/routes/+layout.server.ts
Normal file
7
src/routes/+layout.server.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
import type { LayoutServerLoad } from './$types';
|
||||
|
||||
export const load: LayoutServerLoad = ({ url }) => {
|
||||
let path = url.pathname;
|
||||
throw redirect(301, `https://frog.ski${url.pathname}`);
|
||||
};
|
Loading…
Reference in New Issue
Block a user