Skip to content

Commit

Permalink
Ignore repath for exisitng API
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Jan 4, 2024
1 parent dfd65cf commit eb49d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
path("i18n/", include("django.conf.urls.i18n")),
path("v3/", v3, name="v3"),
path("", redirect_to_v3, name="index"),
re_path(r"^(?!(o/|osm/)).*$", v3),
re_path(r"^(?!(o/|osm/|admin|api|worker)).*$", v3),
]

if settings.DEBUG:
Expand Down

0 comments on commit eb49d12

Please sign in to comment.