ashb commented on a change in pull request #13620:
URL: https://github.com/apache/airflow/pull/13620#discussion_r555775884



##########
File path: airflow/www/extensions/init_views.py
##########
@@ -171,6 +185,7 @@ def _handle_api_error(ex):
     api_bp = connexion_app.add_api(
         specification='v1.yaml', base_path=base_path, validate_responses=True, 
strict_validation=True
     ).blueprint
+    app.after_request(set_cors_headers_on_response)

Review comment:
       Connexion is doing something funny -- this doesn't work (the after 
request is never called!)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to