Skip to content

Commit

Permalink
chore: 🔧 (api/env) postgres protocol を許可するように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
dino3616 committed Jan 30, 2024
1 parent e6c320a commit 8849814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/common/service/env/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8849814

Please sign in to comment.