aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2021-03-11 00:31:41 +0000
committerbnewbold <bnewbold@archive.org>2021-03-11 00:31:41 +0000
commit0807356f4dab310e249ed0d38a75eec4ca393afc (patch)
tree5efcf9a2d162e3121c446cd89c906db670942a68
parent8e5941f6599bbb7de9d0627797320eba1232c58b (diff)
parent9ec27599bad4b36e6313ee0cd15948a5425731ad (diff)
downloadfatcat-0807356f4dab310e249ed0d38a75eec4ca393afc.tar.gz
fatcat-0807356f4dab310e249ed0d38a75eec4ca393afc.zip
Merge branch 'martin-fix-changelog-api-host' into 'master'
changelog template: fix api link See merge request webgroup/fatcat!97
-rw-r--r--python/fatcat_web/templates/changelog.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/changelog.html b/python/fatcat_web/templates/changelog.html
index 322f3e3b..3ad01d63 100644
--- a/python/fatcat_web/templates/changelog.html
+++ b/python/fatcat_web/templates/changelog.html
@@ -37,7 +37,11 @@ inspect every change all the way back to the start.
</table>
<div style="float: right; font-size: smaller;">
- <a href="{{ config.FATCAT_API_HOST }}/changelog">As JSON via API</a>
+ {% if config.FATCAT_DOMAIN == "fatcat.wiki" %}
+ <a href="https://api.fatcat.wiki/v0/changelog">As JSON via API</a>
+ {% else %}
+ <a href="{{ config.FATCAT_API_HOST }}/changelog">As JSON via API</a>
+ {% endif %}
</div>
{% endblock %}