Files
f0ckm/f0ck-svelte/src/routes/login/+page.server.ts
2026-07-19 19:40:25 +02:00

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');
};