404 page
Some checks failed
test / cargo test (push) Failing after 1m24s

This commit is contained in:
Michal Vanko 2024-10-07 10:14:32 +02:00
parent 08050baf98
commit 2e47c91985
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@
@404 {
expression {http.error.status_code} == 404
}
rewrite @404 /404.html
rewrite @404 /not-found.html
file_server
}
}

View File

@ -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