I just tried resetting baseUrl and confirming that it is not working.
However, this one works :
{{ app.request.getSchemeAndHttpHost ~ app.request.baseUrl ~ app.request.pathInfo }}
I know this is not very, but it does the job :)
Jovan perovic
source share