<filename>back-end/app/middleware/csp_component.py<gh_stars>1-10
class ContentSecurityPolicyComponent:
    def process_response(
        self, req, resp, resource, req_succeeded
    ):  # pylint: disable=no-self-use
        del req, resource, req_succeeded
        resp.set_header("Access-Control-Allow-Origin", "*")
        resp.set_header("Access-Control-Allow-Headers", "Content-Type")

<filename>back-end/app/middleware/csp_component.py<gh_stars>1-10
class ContentSecurityPolicyComponent:
    def process_response(
        self, req, resp, resource, req_succeeded
    ):  # pylint: disable=no-self-use
        del req, resource, req_succeeded
        resp.set_header("Access-Control-Allow-Origin", "*")
        resp.set_header("Access-Control-Allow-Headers", "Content-Type")

# pylint: disable=no-self-use