Skip to content

Commit ad2db75

Browse files
committed
change firefox oauth uri for Firefox 75 changes
1 parent f259ab6 commit ad2db75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/background.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ function getBackupToken(service: string) {
261261
} else if (service === "drive") {
262262
if (navigator.userAgent.indexOf("Edg") !== -1) {
263263
redirUrl = encodeURIComponent("https://authenticator.cc/oauth-edge");
264+
} else if (navigator.userAgent.indexOf("Firefox") !== -1) {
265+
redirUrl = encodeURIComponent("https://authenticator.cc/oauth-firefox");
264266
} else {
265267
redirUrl = encodeURIComponent("https://authenticator.cc/oauth");
266268
}

0 commit comments

Comments
 (0)