mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-09 13:13:56 +00:00
Allow FireFox relay in CSP.
This PR is needed for https://github.com/dani-garcia/bw_web_builds/pull/71 Without this the web-vault will refuse to make calls to the FireFox Relay API. Also fixed a small issue with the pre-commit config.
This commit is contained in:
parent
887e320e7f
commit
006a2aacbb
2 changed files with 16 additions and 8 deletions
|
@ -26,8 +26,8 @@ repos:
|
|||
entry: cargo test
|
||||
language: system
|
||||
args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--"]
|
||||
types_or: [file, rust]
|
||||
files: (Cargo.toml|Cargo.lock)
|
||||
types_or: [rust, file]
|
||||
files: (Cargo.toml|Cargo.lock|.*\.rs$)
|
||||
pass_filenames: false
|
||||
- id: cargo-clippy
|
||||
name: cargo clippy
|
||||
|
@ -35,6 +35,6 @@ repos:
|
|||
entry: cargo clippy
|
||||
language: system
|
||||
args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--", "-D", "warnings"]
|
||||
types_or: [file, rust]
|
||||
files: (Cargo.toml|Cargo.lock)
|
||||
types_or: [rust, file]
|
||||
files: (Cargo.toml|Cargo.lock|.*\.rs$)
|
||||
pass_filenames: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue