summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_macros.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2021-04-13 19:02:19 +0000
committerbnewbold <bnewbold@archive.org>2021-04-13 19:02:19 +0000
commit7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5 (patch)
tree2c7ff27a124e87d9d4dd7f71294f79609717236b /python/fatcat_web/templates/entity_macros.html
parent83ae1d85d093f1f37bba74283b1d689bb1f1c346 (diff)
parent34afb00666814d7bcb5c29085a25353986ea805d (diff)
downloadfatcat-7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5.tar.gz
fatcat-7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5.zip
Merge branch 'bnewbold-ui-tweaks-202104' into 'master'
Misc UI tweaks (2021-04) See merge request webgroup/fatcat!103
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r--python/fatcat_web/templates/entity_macros.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html
index 9207bd48..4b0635e5 100644
--- a/python/fatcat_web/templates/entity_macros.html
+++ b/python/fatcat_web/templates/entity_macros.html
@@ -36,12 +36,7 @@
<br>Revision: <small><code><a href="/{{ entity_type }}/rev/{{ entity.revision }}">{{ entity.revision }}</a></code></small>
{% endif %}
<br>API URL: <a href="
- {%- if config.FATCAT_DOMAIN == 'dev.fatcat.wiki' -%}
- http://localhost:9411
- {%- else -%}
- https://api.{{ config.FATCAT_DOMAIN }}
- {%- endif -%}
- /v0
+ {{ config.FATCAT_PUBLIC_API_HOST -}}
{%- if editgroup and entity.ident -%}
/editgroup/{{ editgroup.editgroup_id }}{# /{{ entity_type }}/{{ entity.ident }} #}
{%- elif entity.ident -%}