mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
[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) {
|
if (this.services.size > 0) {
|
||||||
return;
|
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) {
|
if (response.status !== 200) {
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
@ -261,7 +261,7 @@ const devServer =
|
|||||||
https://notifications.bitwarden.com
|
https://notifications.bitwarden.com
|
||||||
https://cdn.bitwarden.net
|
https://cdn.bitwarden.net
|
||||||
https://api.pwnedpasswords.com
|
https://api.pwnedpasswords.com
|
||||||
https://2fa.directory/api/v3/totp.json
|
https://api.2fa.directory/v3/totp.json
|
||||||
https://api.stripe.com
|
https://api.stripe.com
|
||||||
https://www.paypal.com
|
https://www.paypal.com
|
||||||
https://api.braintreegateway.com
|
https://api.braintreegateway.com
|
||||||
|
Loading…
Reference in New Issue
Block a user