Try response other than 404

This commit is contained in:
2025-01-24 15:08:14 +00:00
parent 2d3b9c9d37
commit fd84c4e2c5

View File

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