mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
fix /migrations_notran
This commit is contained in:
parent
8a3c10686e
commit
2a94611801
@ -64,6 +64,7 @@ class AWXWSGIHandler(WSGIHandler):
|
||||
# "normal" middleware
|
||||
if getattr(resolve(request.path), 'url_name', '') == 'migrations_notran':
|
||||
# short-circuit middleware
|
||||
request._cors_enabled = False
|
||||
return self._get_response(request)
|
||||
except django.urls.Resolver404:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user