Avoid double slashes between baseUrl and url