feat: added secret-scanning disable option

This commit is contained in:
=
2024-05-13 21:55:37 +05:30
parent 18c0d2fd6f
commit 91a23a608e
8 changed files with 74 additions and 23 deletions
+4
View File
@@ -13,6 +13,10 @@ const zodStrBool = z
const envSchema = z
.object({
PORT: z.coerce.number().default(4000),
DISABLE_SECRET_SCANNING: z
.enum(["true", "false"])
.default("false")
.transform((el) => el === "true"),
REDIS_URL: zpStr(z.string()),
HOST: zpStr(z.string().default("localhost")),
DB_CONNECTION_URI: zpStr(z.string().describe("Postgres database connection string")).default(