diff --git a/src/git-providers/sources.js b/src/git-providers/sources.js index 81aa0b9..76fa372 100644 --- a/src/git-providers/sources.js +++ b/src/git-providers/sources.js @@ -14,5 +14,6 @@ export function getSource() { if ([SOURCE.GITLAB, SOURCE.GITHUB, SOURCE.BITBUCKET].includes(cloud)) { return cloud; } - return SOURCE.BITBUCKET; + const source = new URLSearchParams(window.location.search).get("source"); + return source || SOURCE.GITHUB; }