added hook to prevent handling of /repo

This commit is contained in:
2025-01-24 14:55:51 +00:00
parent 45e1a5c616
commit 2d3b9c9d37

6
src/hooks.server.js Normal file
View File

@@ -0,0 +1,6 @@
export function handle({ event, resolve }) {
if (event.url.pathname.startsWith('/repo')) {
return new Response(null, { status: 404 }); // Let Caddy handle it
}
return resolve(event);
}