feat: add DEFAULT_ALLOWED_SERVERS .env value

This commit is contained in:
Dragory 2022-08-06 22:12:40 +03:00
parent f7fede47bd
commit 4a5e8ded75
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
4 changed files with 20 additions and 1 deletions

View file

@ -17,6 +17,8 @@ const envType = z.object({
STAFF: z.preprocess((v) => String(v).split(","), z.array(z.string())).optional(),
DEFAULT_ALLOWED_SERVERS: z.preprocess((v) => String(v).split(","), z.array(z.string())).optional(),
PHISHERMAN_API_KEY: z.string().optional(),
DOCKER_DEV_MYSQL_PASSWORD: z.string().optional(), // Included here for the DB_PASSWORD default in development