Fixes #7096: Home links should honor BASE_PATH configuration

This commit is contained in:
jeremystretch
2021-08-31 09:13:34 -04:00
parent 3a7fc40734
commit bb2bc12ea4
4 changed files with 6 additions and 5 deletions

View File

@@ -9,5 +9,5 @@
{% block title %}{% if name %}{{ name }} | {% endif %}NetBox REST API{% endblock %}
{% block branding %}
<a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
<a class="navbar-brand" href="{% url 'home' %}">NetBox</a>
{% endblock branding %}