mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-27 15:47:46 -06:00
Fixes #7091: Ensure API requests from the UI are aware of BASE_PATH
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user