diff --git a/src/react/actions/auth.ts b/src/react/actions/auth.ts index c03b1eb63..41783fdf9 100644 --- a/src/react/actions/auth.ts +++ b/src/react/actions/auth.ts @@ -90,7 +90,7 @@ export function loadAppConfig(config: AppConfig, user): ThunkNonStateAction { config.zenkoEndpoint, config.iamInternalFQDN, config.s3InternalFQDN, - process.env.NODE_ENV === 'development' ? '' : config.basePath, + config.basePath, ), ), ); diff --git a/src/react/next-architecture/ui/S3ClientProvider.tsx b/src/react/next-architecture/ui/S3ClientProvider.tsx index 83e92bc47..b1ae19134 100644 --- a/src/react/next-architecture/ui/S3ClientProvider.tsx +++ b/src/react/next-architecture/ui/S3ClientProvider.tsx @@ -51,7 +51,7 @@ export const S3ClientProvider = ({ s3Config.endpoint, iamInternalFQDN, s3InternalFQDN, - process.env.NODE_ENV === 'development' ? '' : basePath, + basePath, ); const iamClient = new IAMClient(iamEndpoint); @@ -110,7 +110,7 @@ export const S3ClientWithoutReduxProvider = ({ s3Config.endpoint, iamInternalFQDN, s3InternalFQDN, - process.env.NODE_ENV === 'development' ? '' : basePath, + basePath, ); const iamClient = new IAMClient(iamEndpoint);