[PS-2118] Update 2fa.directory API URI (#4318)

* Update 2fa.directory API URI

* Update 2fa.directory API url in dev CSP rules

Co-authored-by: Daniel James Smith <djsmith@web.de>
This commit is contained in:
Carlgo11 2023-01-03 19:53:31 +01:00 committed by GitHub
parent ec19fc7225
commit 491fac405e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl
if (this.services.size > 0) {
return;
}
const response = await fetch(new Request("https://2fa.directory/api/v3/totp.json"));
const response = await fetch(new Request("https://api.2fa.directory/v3/totp.json"));
if (response.status !== 200) {
throw new Error();
}

View File

@ -261,7 +261,7 @@ const devServer =
https://notifications.bitwarden.com
https://cdn.bitwarden.net
https://api.pwnedpasswords.com
https://2fa.directory/api/v3/totp.json
https://api.2fa.directory/v3/totp.json
https://api.stripe.com
https://www.paypal.com
https://api.braintreegateway.com