Skip to content

Commit 38a9afd

Browse files
Merge pull request #32 from harishdeivanayagam/feature/cloud-alpha-reqs
fix: ee enabled on pricing
2 parents bffc188 + 5396336 commit 38a9afd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/ee/legal/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default async function LegalPage({ params }: { params: Promise<{ slug: st
55
const { slug } = await params
66
let legalPageContent = ""
77

8-
const eeEnabled = process.env.NEXT_PUBLIC_EE_ENABLED === 'true'
8+
const eeEnabled = process.env.EE_ENABLED && process.env.EE_ENABLED === 'true'
99

1010
if (!eeEnabled) {
1111
return (

src/app/ee/pricing/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { PiCheck } from "react-icons/pi";
66

77
export default async function PricingPage() {
88

9-
const eeEnabled = process.env.NEXT_PUBLIC_EE_ENABLED === 'true'
9+
const eeEnabled = process.env.EE_ENABLED && process.env.EE_ENABLED === 'true'
1010

1111
if (!eeEnabled) {
1212
return (

0 commit comments

Comments
 (0)