mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-23 05:51:57 +00:00
Try response other than 404
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
export function handle({ event, resolve }) {
|
export function handle({ event, resolve }) {
|
||||||
if (event.url.pathname.startsWith('/repo')) {
|
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);
|
return resolve(event);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user