mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Try response other than 404
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user