Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update env.ts

Daniel Hougaard0c793035820a
diff --git a/backend/src/lib/config/env.ts b/backend/src/lib/config/env.ts
index 4c15f6a344..691191d32f 100644
--- a/backend/src/lib/config/env.ts
+++ b/backend/src/lib/config/env.ts
@@ -20,7 +20,7 @@ const databaseReadReplicaSchema = z
const envSchema = z
.object({
- PORT: z.coerce.number().default(4000),
+ PORT: z.coerce.number().default(process?.pkg ? 8080 : 4000),
DISABLE_SECRET_SCANNING: z
.enum(["true", "false"])
.default("false")