More attempts to solve proxy path conflicts

This commit is contained in:
2025-01-23 16:28:47 +00:00
parent 369aae3b39
commit 4776f53e9d
2 changed files with 3 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ export const handle = async ({ event, resolve }) => {
if (proxyPaths.some(path => event.url.pathname.startsWith(path))) {
// Return empty response, letting proxy handle it
return new Response(null, { status: 404 });
return new Response(null, { status: 444 });
}
// Let SvelteKit handle other paths