proxy the api in all environments