Skip to content

Commit

Permalink
core: remove transitionary old JS urls (goauthentik#10317)
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <[email protected]>
  • Loading branch information
BeryJu authored Jul 1, 2024
1 parent b94db1d commit f4ef8f5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions authentik/core/templatetags/authentik_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,5 @@ def versioned_script(path: str) -> str:
f'<script src="{static_loader(path.replace("%v", get_full_version()))}'
'" type="module"></script>'
),
# Legacy method of loading scripts used as a fallback, without the version in the filename
# TODO: Remove after 2024.6 or later
(
f'<script src="{static_loader(path.replace("-%v", ""))}?'
f'version={get_full_version()}" type="module"></script>'
),
]
return mark_safe("".join(returned_lines)) # nosec

0 comments on commit f4ef8f5

Please sign in to comment.