Replace baseUrl with relative paths