diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_web/templates/changelog.html | 6 |
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 %} |