fix regex + remove extraneous status=200

This commit is contained in:
trinkey 2024-12-22 00:07:48 -05:00
parent 3b4716d695
commit 753de8a723
2 changed files with 2 additions and 3 deletions

View file

@ -35,4 +35,4 @@ USE_I18N = True
USE_TZ = True
CORS_ALLOW_ALL_ORIGINS = True
CORS_URLS_REGEX = r"^/static/.+$"
CORS_URLS_REGEX = r"^/(static|favicon)/.+$"

View file

@ -50,6 +50,5 @@ def initialize(request: WSGIRequest) -> HttpResponse:
return HttpResponse(
json.dumps(resp),
content_type="application/json",
status=200
content_type="application/json"
)