mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2026-05-15 11:11:42 +01:00
More attempts to solve routing issues
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@ export const handle = async ({ event, resolve }) => {
|
||||
const proxyPaths = ["/repo"];
|
||||
|
||||
if (proxyPaths.some(path => event.url.pathname.startsWith(path))) {
|
||||
// Return empty response, letting proxy handle it
|
||||
return new Response(null, { status: 444 });
|
||||
// completely skip sveltekit routing
|
||||
return;
|
||||
}
|
||||
|
||||
// Let SvelteKit handle other paths
|
||||
|
||||
Reference in New Issue
Block a user