svelte lol
This commit is contained in:
9
f0ck-svelte/src/routes/login/+page.server.ts
Normal file
9
f0ck-svelte/src/routes/login/+page.server.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
// Stub page for /login — will be built in Sprint 2.
|
||||
// For now redirect to the legacy login page so auth still works.
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
import type { PageServerLoad } from './$types';
|
||||
|
||||
export const load: PageServerLoad = async () => {
|
||||
// Temporary: redirect to legacy backend login until we build the Svelte login form
|
||||
throw redirect(307, 'http://localhost:1337/login');
|
||||
};
|
||||
Reference in New Issue
Block a user