Server now reads base url for fetching content either from an environment variable (production) or localhost (development).