This commit is contained in:
Bakhai Support 2025-07-11 16:48:37 +05:30
commit 1cb777b0a2
3 changed files with 8 additions and 750 deletions

View file

@ -67,7 +67,7 @@
<ul id="nav" class="right hide-on-med-and-down top-nav position-relative">
{% set menulinks %}
{% if not hide_api %}
<li><a href="{{ swagger_url }}">{{ _h("API Docs") }}</a></li>
<li><a href="{% if web_version %}https://docs.libretranslate.com{% else %}{{ swagger_url }}{% endif %}">{{ _h("API Docs") }}</a></li>
{% endif %}
{% if get_api_key_link %}
<li><a href="{{ get_api_key_link }}">{{ _h("Get API Key") }}</a></li>