Fixes #7091: Ensure API requests from the UI are aware of BASE_PATH

This commit is contained in:
thatmattlove
2021-08-31 07:56:53 -07:00
parent ef87720ffc
commit 26a372dcf3
13 changed files with 93 additions and 46 deletions

View File

@@ -5,6 +5,7 @@
<html
lang="en"
data-netbox-path="{{ request.path }}"
data-netbox-base-path="{% base_path %}"
{% if preferences|get_key:'ui.colormode' == 'dark'%}
data-netbox-color-mode="dark"
{% else %}