Skip to content

Commit 1338a0c

Browse files
authored
Remove taint from GROWTH_PLAN_SKU and PAYMENT_METHOD_CONFIGURATION (#8089)
1 parent 96ebf37 commit 1338a0c

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

apps/dashboard/src/@/constants/server-envs.ts

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,7 @@ if (REDIS_URL) {
9292
);
9393
}
9494

95+
// DO NOT TAINT THESE VALUES (for now)
9596
export const GROWTH_PLAN_SKU = process.env.GROWTH_PLAN_SKU || "";
96-
97-
if (GROWTH_PLAN_SKU) {
98-
experimental_taintUniqueValue(
99-
"Do not pass GROWTH_PLAN_SKU to the client",
100-
process,
101-
GROWTH_PLAN_SKU,
102-
);
103-
}
104-
10597
export const PAYMENT_METHOD_CONFIGURATION =
10698
process.env.PAYMENT_METHOD_CONFIGURATION || "";
107-
108-
if (PAYMENT_METHOD_CONFIGURATION) {
109-
experimental_taintUniqueValue(
110-
"Do not pass PAYMENT_METHOD_CONFIGURATION to the client",
111-
process,
112-
PAYMENT_METHOD_CONFIGURATION,
113-
);
114-
}

0 commit comments

Comments
 (0)