fix(github): GH OAuth2 is broken
This commit is contained in:
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user