1
0
Fork 0
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:
BlackDex 2022-06-20 16:26:41 +02:00
parent 887e320e7f
commit 006a2aacbb
No known key found for this signature in database
GPG key ID: 58C80A2AA6C765E1
2 changed files with 16 additions and 8 deletions

View file

@ -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