From 39f2c29e20bca899f09abc66d0b755986a96d551 Mon Sep 17 00:00:00 2001 From: Stefan van Herwijnen Date: Wed, 11 Dec 2024 12:29:05 +0100 Subject: [PATCH] fix(docs): fix 404 prerendering --- packages/docs/build/Caddyfile | 2 +- packages/docs/src/pages/Error404Page.vue | 2 +- packages/docs/src/router/routes.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/docs/build/Caddyfile b/packages/docs/build/Caddyfile index 947cdf2..85c6410 100644 --- a/packages/docs/build/Caddyfile +++ b/packages/docs/build/Caddyfile @@ -1,7 +1,7 @@ www.slimfact.app { handle { root * /srv/www.slimfact.app - try_files {path}.html {path} /index.html + try_files {path}.html {path} /404.html file_server } } \ No newline at end of file diff --git a/packages/docs/src/pages/Error404Page.vue b/packages/docs/src/pages/Error404Page.vue index 4a196aa..c040c84 100644 --- a/packages/docs/src/pages/Error404Page.vue +++ b/packages/docs/src/pages/Error404Page.vue @@ -1,6 +1,6 @@