diff options
author | BlackDex <[email protected]> | 2021-06-19 19:22:19 +0200 |
---|---|---|
committer | BlackDex <[email protected]> | 2021-06-19 19:22:19 +0200 |
commit | 8615736e84f802833d0581b1d7f58e7daddc6340 (patch) | |
tree | 2071bf51da8ea406ba112def8437f78fcf5b064b /src/api/web.rs | |
parent | 5772836be524117085970d338631137aa2ff1f0c (diff) | |
download | vaultwarden-8615736e84f802833d0581b1d7f58e7daddc6340.tar.gz vaultwarden-8615736e84f802833d0581b1d7f58e7daddc6340.zip |
Multiple Admin Interface fixes and some others.
Misc:
- Fixed hadolint workflow, new git cli needs some extra arguments.
- Add ignore paths to all specific on triggers.
- Updated hadolint version.
- Made SMTP_DEBUG read-only, since it can't be changed at runtime.
Admin:
- Migrated from Bootstrap v4 to v5
- Updated jquery to v3.6.0
- Updated Datatables
- Made Javascript strict
- Added a way to show which ENV Vars are overridden.
- Changed the way to provide data for handlebars.
- Fixed date/time check.
- Made support string use details and summary feature of markdown/github.
Diffstat (limited to 'src/api/web.rs')
-rw-r--r-- | src/api/web.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/web.rs b/src/api/web.rs index 645f79a7..4ba65fda 100644 --- a/src/api/web.rs +++ b/src/api/web.rs @@ -91,8 +91,8 @@ fn static_files(filename: String) -> Result<Content<&'static [u8]>, Error> { "identicon.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/identicon.js"))), "datatables.js" => Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/datatables.js"))), "datatables.css" => Ok(Content(ContentType::CSS, include_bytes!("../static/scripts/datatables.css"))), - "jquery-3.5.1.slim.js" => { - Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/jquery-3.5.1.slim.js"))) + "jquery-3.6.0.slim.js" => { + Ok(Content(ContentType::JavaScript, include_bytes!("../static/scripts/jquery-3.6.0.slim.js"))) } _ => err!(format!("Static file not found: {}", filename)), } |