Skip to content

Commit

Permalink
Remove extra $ that gives wrong redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikhorluck committed Oct 26, 2024
1 parent 3b47cf0 commit 178b71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/events/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
re_path(
r"^(?P<event_id>\d+)/(?P<event_slug>[a-zA-Z0-9_-]+)/$",
lambda _r, event_id, event_slug: redirect(
f"https://online.ntnu.no/events/${event_id}", permanent=True
f"https://online.ntnu.no/events/{event_id}", permanent=True
),
name="events_details",
),
Expand Down

0 comments on commit 178b71a

Please sign in to comment.