getBaseUrl() creates an invalid URL, using the routing instead.