Skip to content

Commit

Permalink
fix: service name not found pattern (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos authored Oct 2, 2023
1 parent a405fc5 commit da41930
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 @@ -64,7 +64,7 @@ def service_urlpatterns(
name="service",
),
re_path(
r".*",
rf"^(?!{SERVICE_NAME}/).*",
lambda request: HttpResponse(
f'The base route is "{SERVICE_NAME}/".',
status=status.HTTP_404_NOT_FOUND,
Expand Down

0 comments on commit da41930

Please sign in to comment.