commit b7cbca590c6fb2e35ba33fafdead37bf14672b0e
parent dd5e4cec7354f2655cf488b8ba6b782a9b5f2b74
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Thu, 12 Jan 2023 19:15:42 +0100
Merge branch 'GeekCornerGH-fix/2fa_directory-csp'
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util.rs b/src/util.rs
@@ -50,7 +50,7 @@ impl Fairing for AppHeaders {
// Have I Been Pwned and Gravator to allow those calls to work.
// # Connect src:
// Leaked Passwords check: api.pwnedpasswords.com
- // 2FA/MFA Site check: 2fa.directory
+ // 2FA/MFA Site check: api.2fa.directory
// # Mail Relay: https://bitwarden.com/blog/add-privacy-and-security-using-email-aliases-with-bitwarden/
// app.simplelogin.io, app.anonaddy.com, api.fastmail.com, quack.duckduckgo.com
let csp = format!(
@@ -73,7 +73,7 @@ impl Fairing for AppHeaders {
{icon_service_csp}; \
connect-src 'self' \
https://api.pwnedpasswords.com \
- https://2fa.directory \
+ https://api.2fa.directory \
https://app.simplelogin.io/api/ \
https://app.anonaddy.com/api/ \
https://api.fastmail.com/ \