jeanpommier commented on PR #30134: URL: https://github.com/apache/superset/pull/30134#issuecomment-2575019633
> I'll try again since it certainly seems to just require an environment variable :) Hi @martyngigg The trick is, you still need to set the BASE_PATH env var for the frontend (needs for now to be built with the prefix), but not for the superset backend, since this is the WSGI server that handles the prefix. Here is a patch that should work, to run it with the gunicorn server. I've recently rebased your PR against master, so you might get a bit of noise in the docker-compo: [gunicorn_script_name.patch.gz](https://github.com/user-attachments/files/18331559/gunicorn_script_name.patch.gz) And a similar patch to run the same principle with the flask dev server. I still haven't looked at a common way to get this to work, but it shouldn't be too complicated (I guess there is some flag somewhere indicating if we run the dev server): [flask_devserver_script_name.patch.gz](https://github.com/user-attachments/files/18331605/flask_devserver_script_name.patch.gz) -- 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]
