Skip to content

Commit

Permalink
remove the begin match (.*)
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilPawel authored and KamilPawel committed Oct 2, 2023
1 parent f94f0c9 commit 8ccc9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeforlife/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def service_urlpatterns(
name="api",
),
re_path(
r"^(?!.*api/).*",
r"^(?!api/).*",
lambda request: render(request, frontend_template_name),
name="frontend",
),
Expand Down

0 comments on commit 8ccc9cb

Please sign in to comment.