@dir_app.hook('after_request')
def enable_cors():
    response.headers['Access-Control-Allow-Origin'] = '*'
Allow Cross-Origin Resource Sharing for all URLs.
dataset/ETHPy150Open apache/climate/ocw-ui/backend/directory_helpers.py/enable_cors