mirror of
https://github.com/bitwarden/browser
synced 2024-12-25 17:32:46 +01:00
fix twofactorauth.org API path. resolves #422
This commit is contained in:
parent
b9f8cad578
commit
94edc1e284
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit b3d1e9d233aa7ed235d6ec0b26cdba41afa065ae
|
Subproject commit 57e49207e9ad57c71576fc487a38513a4d0fe120
|
@ -76,7 +76,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://twofactorauth.org/data.json'));
|
const response = await fetch(new Request('https://twofactorauth.org/api/v1/data.json'));
|
||||||
if (response.status !== 200) {
|
if (response.status !== 200) {
|
||||||
throw new Error();
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user