Create more endpoints on streamlit than are automatically created by multipage app

Hey everybody, I am facing the issue, that my multipage app raises errors on trying to access /_stcore/health when on a sub-page (e.g., 01_Chatbot.py) instead of opening the app on the root directory (homepage).

This issue has been reported a few times and is currently still open - also I would prefer to stay at 1.30, since I prefer the way the pages are loading.

My current idea to fix this, is to create my own /_stcore/health endpoints that give the β€œok” response (e.g., at www.myapp.com/Chatbot/_stcore/health) - however, I am unsure how or if this can be done with streamlit. Does this posibility exist?