Chaifist commented on issue #34422:
URL: https://github.com/apache/superset/issues/34422#issuecomment-3957505474

   This code helped me for version 6
   
   ```
   from flask import redirect, g
   import logging
   
   def override_root_before_request(app):
       @app.before_request
       def redirect_root():
           from flask import request, session
           if request.path == '/':
               logging.info(f"Redirecting root request from {request.path}")
               return redirect('/chart/list/')
       if 'SupersetIndexView.index' in app.view_functions:
           del app.view_functions['SupersetIndexView.index']
       
       return app
   
   FLASK_APP_MUTATOR = override_root_before_request
   ```


-- 
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: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to