Render unknown URLs inside the app shell and move ListeningStats to the domain types
CI/CD / BackEnd (push) Successful in 1m19s
CI/CD / WebPlayer (push) Successful in 46s
CI/CD / Deploy (push) Skipped

Add catch-all routes so unknown pages 404 inside the (app) layout and unknown
/api URLs return a JSON 404 instead of redirecting to the login page. Restore
the full root error page.
This commit is contained in:
2026-09-24 14:29:45 +02:00
parent 2d23eb87c6
commit 8e85af2b3b
6 changed files with 28 additions and 12 deletions
@@ -0,0 +1,6 @@
import { error } from '@sveltejs/kit';
import type { PageServerLoad } from './$types';
export const load: PageServerLoad = () => {
error(404, 'Página no encontrada');
};