[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:
parent
ec19fc7225
commit
491fac405e
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue