diff --git a/server/src/config.ts b/server/src/config.ts index 46b6d1c9e..b2e17fcff 100644 --- a/server/src/config.ts +++ b/server/src/config.ts @@ -6,8 +6,6 @@ export default registerAs('app', () => ({ auto: `${process.env.AUTO_SERVER_HOST_NAME}:${process.env.AUTO_SERVER_HOST_PORT}`, client: `${process.env.CLIENT_HOST_NAME}:${process.env.CLIENT_HOST_PORT}`, redirectLink: - process.env.NODE_ENV === 'dev' - ? `http://` - : `https://` + - `${process.env.CLIENT_HOST_NAME}:${process.env.CLIENT_HOST_PORT}`, + (process.env.NODE_ENV === 'dev' ? `http://` : `https://`) + + `${process.env.CLIENT_HOST_NAME}:${process.env.CLIENT_HOST_PORT}`, }));