mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Feat/telemetry (#372)
This commit is contained in:
@@ -122,6 +122,11 @@ export const env = createEnv({
|
||||
.enum(["true", "false"])
|
||||
.default("false")
|
||||
.transform((val) => val === "true"),
|
||||
|
||||
TELEMETRY: z
|
||||
.enum(["true", "false"])
|
||||
.default("true")
|
||||
.transform((val) => val === "true"),
|
||||
},
|
||||
client: {
|
||||
NEXT_PUBLIC_PROJECT_VERSION: z.string().optional(),
|
||||
@@ -204,6 +209,8 @@ export const env = createEnv({
|
||||
|
||||
DEMO_ENABLED: process.env.DEMO_ENABLED,
|
||||
|
||||
TELEMETRY: process.env.TELEMETRY,
|
||||
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user