Skip to content

Commit

Permalink
default STATIC_URL with /
Browse files Browse the repository at this point in the history
if no STATIC_URL in settings, default should url be between /
  • Loading branch information
clavay authored and trombastic committed Feb 16, 2024
1 parent ef9f132 commit edc2e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscada/hmi/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def view(request, link_title):
page_template = get_template("content_page.html")
widget_row_template = get_template("widget_row.html")
STATIC_URL = (
str(settings.STATIC_URL) if hasattr(settings, "STATIC_URL") else "static"
str(settings.STATIC_URL) if hasattr(settings, "STATIC_URL") else "/static/"
)

try:
Expand Down

0 comments on commit edc2e48

Please sign in to comment.