fix regex + remove extraneous status=200
This commit is contained in:
parent
3b4716d695
commit
753de8a723
2 changed files with 2 additions and 3 deletions
|
@ -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)/.+$"
|
||||
|
|
|
@ -50,6 +50,5 @@ def initialize(request: WSGIRequest) -> HttpResponse:
|
|||
|
||||
return HttpResponse(
|
||||
json.dumps(resp),
|
||||
content_type="application/json",
|
||||
status=200
|
||||
content_type="application/json"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue