10 lines
403 B
TypeScript
10 lines
403 B
TypeScript
// 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');
|
|
};
|