Make paths outside the baseUrl work properly.