appending api hosted urls to append to csp to allow for connections

This commit is contained in:
Beverly Nguyen
2025-04-29 11:59:52 -07:00
parent b468620ead
commit 69ae1ea0e1

View File

@@ -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):