How to get Root URL of my app?

How can I retrieve the root URL of my app so that it returns “https://yourapp.bubbleapps.io/version-test” during the development environment and “https://yourapp.bubbleapps.io/” in the live environment?

Use the expression: Website Home URL

1 Like