1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-21 02:53:56 +00:00

use a custom 404 page

to customize the 404 page you can copy the handlebar template
`src/static/templates/404.hbs` to the TEMPLATES_FOLDER (defaults to
`data/templates/`)
This commit is contained in:
Stefan Melmuk 2022-12-02 17:58:27 +01:00
parent 1b56f4266b
commit d209df9e10
No known key found for this signature in database
GPG key ID: 817020C608FE9C09
5 changed files with 167 additions and 5 deletions

View file

@ -1123,6 +1123,8 @@ where
reg!("admin/organizations");
reg!("admin/diagnostics");
reg!("404");
// And then load user templates to overwrite the defaults
// Use .hbs extension for the files
// Templates get registered with their relative name