diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-04-12 16:11:42 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-04-12 17:35:53 -0700 |
commit | b28547df2025afb7b5d8941e5553865ff5dc29a6 (patch) | |
tree | 06656410e6e7f0d99cbf34db5d9cf18ee264238f /python/fatcat_web/templates/entity_macros.html | |
parent | 42be320518d238d3f26901e17618ff604435a657 (diff) | |
download | fatcat-b28547df2025afb7b5d8941e5553865ff5dc29a6.tar.gz fatcat-b28547df2025afb7b5d8941e5553865ff5dc29a6.zip |
web: consistent public API URLs
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 7 |
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 -%} |