Fix the broken paths to the favicon and logo in the API browser

This commit is contained in:
Jeff Bradberry 2021-02-19 14:56:26 -05:00
parent 182a7e8e5c
commit 78ccf3c674
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ div.response-info span.meta {
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/">
<img class="logo" src="{% static 'assets/logo-header.svg' %}">
<img class="logo" src="{% static 'media/logo-header.svg' %}">
</a>
<a class="navbar-title" href="{{ request.get_full_path }}">
<span>&nbsp;&mdash; {{name}}</span>

View File

@ -9,7 +9,7 @@
{% endblock %}
{% block style %}
<link href="{% static 'assets/favicon.ico' %}?v={{tower_version}}" rel="shortcut icon" />
<link href="{% static 'favicon.ico' %}?v={{tower_version}}" rel="shortcut icon" />
{{ block.super }}
{% endblock %}
@ -24,7 +24,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{% url 'api:api_root_view' %}">
<img class="logo" src="{% static 'assets/logo-header.svg' %}">
<img class="logo" src="{% static 'media/logo-header.svg' %}">
<span>{% trans 'REST API' %}</span>
</a>
<a class="navbar-title" href="{{ request.get_full_path }}">