backend/config/main.php ->assetManager -> baseUrl


I’m following the method described here to have my control panel in backend folder.

The problem is I don’t want to create two assets folders so I want to set assetManager baseUrl property in my backend/config/main.php but I’m enable to get the URL of the backend in the config. I don’t want it hard coded because I need the code to be portable.

What can I do?