From 884981401ff7a193ea4f2a6525cef6b158674573 Mon Sep 17 00:00:00 2001 From: shio <85730998+dino3616@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:04:55 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=94=A7=20(api/env)=20postgres=20?= =?UTF-8?q?protocol=20=E3=82=92=E8=A8=B1=E5=8F=AF=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/api/src/common/service/env/validate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/common/service/env/validate.ts b/apps/api/src/common/service/env/validate.ts index fdf7560..ee41f9d 100644 --- a/apps/api/src/common/service/env/validate.ts +++ b/apps/api/src/common/service/env/validate.ts @@ -8,7 +8,7 @@ export class EnvValidator { DATABASE_SSL_CERT!: string; - @IsUrl({ protocols: ['postgresql'], require_tld: process.env['NODE_ENV'] === 'production' }) + @IsUrl({ protocols: ['postgres', 'postgresql'], require_tld: process.env['NODE_ENV'] === 'production' }) DATABASE_URL!: string; HUGGINGFACEHUB_API_TOKEN!: string;