fix(core): message on error 404

This commit is contained in:
Ayo 2023-10-22 03:37:53 +02:00
parent 379b9062b5
commit f67cc3f4ca

View file

@ -27,7 +27,7 @@ export function defineRoute({ config, storage }) {
return (
html ??
new Response(
"😱 ERROR 404: Not found. You can put a 404.html on the ./pages directory to customize this error page.",
"😱 ERROR 404: Not found. You can put a 404.html on the ./src/pages directory to customize this error page.",
{ status: 404 }
)
);