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:
parent
1b56f4266b
commit
d209df9e10
5 changed files with 167 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue