I use java and vaadin
I do window.getURL() and it returns me, for example - 99.22.22.22:8080/2/ However, it's supposed to return app.server.com/2/
of course, app.server.com is the same as 99.22.22.22:8080
But how I can replace it by app.server.com??