There shouldn’t be a need to configure those endpoints unless you’re doing something extremely unique.
Can you share a link to your repo? What is your file structure? Are you using the built-in navigation menu or are building your own navigation links? What are the steps you take to run your app and trigger these errors?
I checked with a dev and this is considered expected behavior. Refreshing a page starts a new user session. When you initiate a session from a subpage, there’s some logic to figure out the app’s path.
Is there a way to suppress or handle the warning? I ask because in some use cases (ex: say we create a widget from a particular Streamlit page and then embed the widget on another site), these warnings will keep popping up every time the widget loads.
I’m not aware of any native way for doing so. I think you’d you have to dig into the Streamlit code if you want to change this behavior, currently. I suggest creating GitHub issue to explain your use case and feature request for this level of control.