Changed approach from CORS to a templating change

This commit is contained in:
zandercymatics 2023-08-14 13:22:26 -06:00
parent 17ac251c36
commit ea94831ab4
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 23 additions and 6 deletions

View file

@ -46,9 +46,9 @@ for step, view in [
urlpatterns = [
path("", views.index, name="home"),
path(
"admin/logout/",
RedirectView.as_view(pattern_name="logout", permanent=False),
),
"admin/logout/",
RedirectView.as_view(pattern_name="logout", permanent=False),
),
path("admin/", admin.site.urls),
path(
"application/<id>/edit/",
@ -118,7 +118,9 @@ urlpatterns = [
),
]
# What is the purpose of this?
# This behaviour gets overwritten, so this doesn't do anything...
# Login in particular
if not settings.DEBUG:
urlpatterns += [
# redirect to login.gov