diff --git a/Caddyfile-preview b/Caddyfile-preview index 29d1ccf..43eb494 100644 --- a/Caddyfile-preview +++ b/Caddyfile-preview @@ -24,7 +24,7 @@ @404 { expression {http.error.status_code} == 404 } - rewrite @404 /404.html + rewrite @404 /not-found.html file_server } } diff --git a/justfile b/justfile index 4d1c30a..795a312 100644 --- a/justfile +++ b/justfile @@ -52,6 +52,7 @@ clean: # SSG ssg: - wget --no-convert-links -r -p -E -P dist --no-host-directories 127.0.0.1:{{port}} + - wget --no-convert-links -p -E -P dist --no-host-directories 127.0.0.1:{{port}}/not-found find generated_images/ -name "*_og*" -exec cp --parents {} dist/ \; # Preview server