From 9ec27599bad4b36e6313ee0cd15948a5425731ad Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 10 Mar 2021 21:24:25 +0100 Subject: changelog template: fix api link When assumed "live" point to the external api link, for any other instance use the configured value. --- python/fatcat_web/templates/changelog.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python') 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.
- As JSON via API + {% if config.FATCAT_DOMAIN == "fatcat.wiki" %} + As JSON via API + {% else %} + As JSON via API + {% endif %}
{% endblock %} -- cgit v1.2.3