From 94edc1e2848afbe24cd480aa443161e83a04c707 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 29 Oct 2019 08:04:09 -0400 Subject: [PATCH] fix twofactorauth.org API path. resolves #422 --- jslib | 2 +- src/app/tools/inactive-two-factor-report.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index b3d1e9d2..57e49207 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit b3d1e9d233aa7ed235d6ec0b26cdba41afa065ae +Subproject commit 57e49207e9ad57c71576fc487a38513a4d0fe120 diff --git a/src/app/tools/inactive-two-factor-report.component.ts b/src/app/tools/inactive-two-factor-report.component.ts index 13e1fd76..c66ff907 100644 --- a/src/app/tools/inactive-two-factor-report.component.ts +++ b/src/app/tools/inactive-two-factor-report.component.ts @@ -76,7 +76,7 @@ export class InactiveTwoFactorReportComponent extends CipherReportComponent impl if (this.services.size > 0) { 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) { throw new Error(); }