summaryrefslogtreecommitdiff
path: root/source/libs/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/libs/utils.ts')
-rw-r--r--source/libs/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libs/utils.ts b/source/libs/utils.ts
index 8f0729e0..c77bbc7c 100644
--- a/source/libs/utils.ts
+++ b/source/libs/utils.ts
@@ -74,7 +74,7 @@ export const getCurrentBranch = (): string => {
export const isFirefox = navigator.userAgent.includes('Firefox/');
-export const getRepoURL = (): string => location.pathname.slice(1).split('/', 2).join('/');
+export const getRepoURL = (): string => location.pathname.slice(1).split('/', 2).join('/').toLowerCase();
export const getRepoGQL = (): string => {
const {ownerName, repoName} = getOwnerAndRepo();
return `owner: "${ownerName!}", name: "${repoName!}"`;