Define baseUrl based on environment