fix: correction sending s3/minio media to chatwoot and typebot

This commit is contained in:
Davidson Gomes 2023-12-14 15:59:06 -03:00
parent 1fc820787a
commit a369c16db8

View File

@ -181,7 +181,7 @@ export class ConfigService {
private envProcess(): Env { private envProcess(): Env {
return { return {
SERVER: { 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, PORT: Number.parseInt(process.env.SERVER_PORT) || 8080,
URL: process.env.SERVER_URL, URL: process.env.SERVER_URL,
}, },