Fixed #1864: GitHub organisation stats not loading

This commit is contained in:
squidfunk
2020-08-12 10:43:11 +02:00
parent 12519a2411
commit 4639ff8313
5 changed files with 7 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ function fetchSourceFacts(
/* GitHub repository */
case "github":
const [, user, repo] = url.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)/i)
const [, user, repo] = url.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)?/i)
return fetchSourceFactsFromGitHub(user, repo)
/* GitLab repository */