From a369c16db88fc64f149666013eb6eb00a5a508e8 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Thu, 14 Dec 2023 15:59:06 -0300 Subject: [PATCH] fix: correction sending s3/minio media to chatwoot and typebot --- src/config/env.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/env.config.ts b/src/config/env.config.ts index 69e79f54..80886724 100644 --- a/src/config/env.config.ts +++ b/src/config/env.config.ts @@ -181,7 +181,7 @@ export class ConfigService { private envProcess(): Env { return { SERVER: { - TYPE: process.env.SERVER_TYPE as 'http' | 'https', + TYPE: (process.env.SERVER_TYPE as 'http' | 'https') || 'http', PORT: Number.parseInt(process.env.SERVER_PORT) || 8080, URL: process.env.SERVER_URL, },