mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-12 14:22:37 -04:00
appending api hosted urls to append to csp to allow for connections
This commit is contained in:
@@ -183,6 +183,7 @@ def _csp(config):
|
||||
csp["connect-src"].append(ws_url)
|
||||
return csp
|
||||
|
||||
|
||||
def create_app(application):
|
||||
@application.after_request
|
||||
def add_csp_header(response):
|
||||
|
||||
Reference in New Issue
Block a user