How to get current url programmatically?
how to get current client app url programmatically? so when it's on local, it will shows localhost and port, and if it is deployed , it will shows the current url, is there any exsisting hook to achieve this ? or should I build it from scratch?
