mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 09:20:52 +01:00
Fixed broken GitHub stats for organizations (7.1.0 regression)
This commit is contained in:
parent
32ab26a664
commit
ef0979f950
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -225,7 +225,7 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/bundle.8697d190.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.c7d1b464.min.js' | url }}"></script>
|
||||||
{% for path in config["extra_javascript"] %}
|
{% for path in config["extra_javascript"] %}
|
||||||
<script src="{{ path | url }}"></script>
|
<script src="{{ path | url }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -83,7 +83,7 @@ export function fetchSourceFactsFromGitHub(
|
|||||||
|
|
||||||
/* User or organization */
|
/* User or organization */
|
||||||
} else {
|
} else {
|
||||||
const url = `https://api.github.com/repos/${user}`
|
const url = `https://api.github.com/users/${user}`
|
||||||
return requestJSON<User>(url)
|
return requestJSON<User>(url)
|
||||||
.pipe(
|
.pipe(
|
||||||
map(info => ({
|
map(info => ({
|
||||||
|
Loading…
Reference in New Issue
Block a user