Skip to content

Commit a2e3afb

Browse files
committed
chore(env): drop unnecessary NEXT_PUBLIC_SOCKET_URL preprocess (skipValidation is true)
1 parent 592b97c commit a2e3afb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/sim/lib/core/config

apps/sim/lib/core/config/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ export const env = createEnv({
401401
NEXT_PUBLIC_APP_URL: z.string().url(), // Base URL of the application (e.g., https://www.sim.ai)
402402

403403
// Client-side Services
404-
NEXT_PUBLIC_SOCKET_URL: z.preprocess((v) => (v === '' ? undefined : v), z.string().url().optional()), // WebSocket server URL for real-time features (empty string treated as unset)
404+
NEXT_PUBLIC_SOCKET_URL: z.string().url().optional(), // WebSocket server URL for real-time features
405405

406406
// Billing
407407
NEXT_PUBLIC_BILLING_ENABLED: z.boolean().optional(), // Enable billing enforcement and usage tracking (client-side)

0 commit comments

Comments
 (0)