pierrejeambrun commented on code in PR #42185:
URL: https://github.com/apache/airflow/pull/42185#discussion_r1756325852


##########
airflow/www/extensions/init_react_ui.py:
##########
@@ -33,6 +33,7 @@ def init_react_ui(app):
     )
 
     @bp.route("/ui")
+    @bp.route("/ui/dags")

Review Comment:
   Yes that's not great, and the coupling with the UI router :( 
   
   Maybe we can get away with custom converters 
https://werkzeug.palletsprojects.com/en/3.0.x/routing/#custom-converters. 
(Something a regexp that catches `/ui*` basically)



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

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to