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:
@ -64,7 +64,7 @@ export class EnvironmentVariables {
|
|||||||
PORT: number;
|
PORT: number;
|
||||||
|
|
||||||
// Database
|
// Database
|
||||||
@IsUrl({ protocols: ['postgres'], require_tld: false })
|
@IsUrl({ protocols: ['postgres'], require_tld: false, allow_underscores: true })
|
||||||
PG_DATABASE_URL: string;
|
PG_DATABASE_URL: string;
|
||||||
|
|
||||||
// Frontend URL
|
// Frontend URL
|
||||||
|
|||||||
Reference in New Issue
Block a user