Possible to get the host of Server side plugins?

Hi is it possible to get the host of the plugin that it has been installed to? Such as
myapp.com/
myapp.com/version-test (if it’s not live)
myapp.bubbleapps.io/

Is this possible to do it on the server side?

You should add a field (dynamic/text) and ask user to set it using “Website home url”
This is what I do with my file uploader plugin. Bubble will also return the url base on the version.

Ah I was hoping I wouldn’t have to do this. Thanks