Run streamlit app on specific URL path

Is it possible to run a Streamlit app on a specific URL path?
Let’s say I want my app to be accessible not on https://localhost on localhost/some-path .


Hi @Niccolo_Bulgarini, welcome to the forum!

Yes, it turns out there is a configuration option for that! If you create a file called .streamlit/config.toml and put the following lines in it, it should work:

baseUrlPath = "some-path"

That should do the trick! See Configuration - Streamlit Docs for more details.