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;