diff options
author | BlackDex <[email protected]> | 2022-12-15 17:15:48 +0100 |
---|---|---|
committer | BlackDex <[email protected]> | 2022-12-16 14:52:42 +0100 |
commit | 8b6dfe48b70909caea0c8a4bf51bc89a451b766a (patch) | |
tree | 1ab824f62f443b864f30b0aca4332cb8ac0d5ece /src/api/web.rs | |
parent | d0b53a6a3de61d3352afb8fb11c97e29cefa454a (diff) | |
download | vaultwarden-8b6dfe48b70909caea0c8a4bf51bc89a451b766a.tar.gz vaultwarden-8b6dfe48b70909caea0c8a4bf51bc89a451b766a.zip |
Disable groups by default and Some optimizations
- Put groups support behind a feature flag, and disabled by default.
The reason is that it has some known issues, but we want to keep
optimizing this feature. Putting it behind a feature flag could help
some users, and the developers into optimizing this feature without to
much trouble.
Further:
- Updates Rust to v1.66.0
- Updated GHA workflows
- Updated Alpine to 3.17
- Updated jquery to v3.6.2
- Moved jdenticon.js to load at the bottom, fixes an issue on chromium
- Added autocomplete attribute to admin login password field
- Added some extra CSP options (Tested this on Safari, Firefox, Chrome, Bitwarden Desktop)
- Moved uppercase convertion from runtime to compile-time using `paste`
for building the environment variables, lowers heap allocations.
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 72bb66d0..3742a088 100644 --- a/src/api/web.rs +++ b/src/api/web.rs @@ -107,8 +107,8 @@ pub fn static_files(filename: String) -> Result<(ContentType, &'static [u8]), Er "jdenticon.js" => Ok((ContentType::JavaScript, include_bytes!("../static/scripts/jdenticon.js"))), "datatables.js" => Ok((ContentType::JavaScript, include_bytes!("../static/scripts/datatables.js"))), "datatables.css" => Ok((ContentType::CSS, include_bytes!("../static/scripts/datatables.css"))), - "jquery-3.6.1.slim.js" => { - Ok((ContentType::JavaScript, include_bytes!("../static/scripts/jquery-3.6.1.slim.js"))) + "jquery-3.6.2.slim.js" => { + Ok((ContentType::JavaScript, include_bytes!("../static/scripts/jquery-3.6.2.slim.js"))) } _ => err!(format!("Static file not found: {}", filename)), } |