maudrid commented on issue #24823:
URL: https://github.com/apache/superset/issues/24823#issuecomment-1790539427
I have tried to apply the Flask settings that is supposed to set the root
URL for the application.
I'm not sure if I am doing it correctly, but it did not have any effect.
Here is what I added to my superset_config.py file:
```
APPLICATION_ROOT = "/test"
```
Also tried:
```
from flask import Flask
def FLASK_APP_MUTATOR(app: Flask) -> None:
app.config['APPLICATION_ROOT'] = "/test"
```
Also tried
```
from flask import Flask, current_app
app = Flask(__name__)
with app.app_context():
current_app.config['APPLICATION_ROOT'] = "/test"
```
If I try to visit the /test path, I get 404 not found.
Could anyone tell me if I'm doing this wrong?
--
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]