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



##########
File path: airflow/www/extensions/init_views.py
##########
@@ -147,6 +147,20 @@ def init_error_handlers(app: Flask):
     app.register_error_handler(404, views.circles)
 
 
+def set_cors_headers_on_response(response):

Review comment:
       Ah, sorry, my Python/Flask inexperience is showing… Would it be ideal 
for this to be moved to an external file and then imported into 
`init_api_connexion`?




----------------------------------------------------------------
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