mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 04:55:30 +03:00
Allow underscores in PG_DATABASE_URL (#3599)
We are working on a Twenty template for Easypanel.io. We need Twenty to allow underscores in order to be compatible with the generated Postgres database service Easypanel creates.
This commit is contained in:
parent
ccbf773fd4
commit
7488a9605e
@ -64,7 +64,7 @@ export class EnvironmentVariables {
|
||||
PORT: number;
|
||||
|
||||
// Database
|
||||
@IsUrl({ protocols: ['postgres'], require_tld: false })
|
||||
@IsUrl({ protocols: ['postgres'], require_tld: false, allow_underscores: true })
|
||||
PG_DATABASE_URL: string;
|
||||
|
||||
// Frontend URL
|
||||
|
Loading…
Reference in New Issue
Block a user