Shortlink issue

I have deployed my app successfully and can open it using the full Url. However, the shortened link ‘https://share.streamlit.io/[user name]/[repo name]’ cannot be used to open the app even though I deploy only one app in that repo (main branch which is the default branch).

Any suggestion?

Just figured out that I have to rename the ‘main’ branch back to ‘master’ (Github just recently make main iso master a default branch when you are creating new repo).

Note also that the source code needs to be name after “streamlit_app.py” in order for the shortened url to work

1 Like

Thanks for reporting this @cadasa, and glad you figured it out. I’ve highlighted this internally as an area for improvement, since GitHub is now defaulting to main for the branch name. It would be nice if this “just worked”.

Best,
Randy

1 Like