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

@ -1,6 +1,6 @@
{
"assets/javascripts/bundle.js": "assets/javascripts/bundle.30071cf1.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.30071cf1.min.js.map",
"assets/javascripts/bundle.js": "assets/javascripts/bundle.b7ed72fe.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.b7ed72fe.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.d1f5a259.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.d1f5a259.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.fae956e7.min.js",

View File

@ -183,7 +183,7 @@
</div>
{% block scripts %}
<script src="{{ 'assets/javascripts/vendor.d1f5a259.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.30071cf1.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.b7ed72fe.min.js' | url }}"></script>
{%- set translations = {} -%}
{%- for key in [
"clipboard.copy",

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 */