diff --git a/background.js b/background.js index cfa98e5..c6b222a 100644 --- a/background.js +++ b/background.js @@ -24,6 +24,9 @@ browser.webRequest.onBeforeRequest.addListener( // click from everywhere else path = url.pathname.split("/"); org = path[1]; + if (org === "login") { // OAuth2 path + return + } repo = path[2]; return { redirectUrl: `https://${GOTHUB}/${org}/${repo}`