uses baseUrl instead of basePath to also work in development mode