Fix ee redirect

This commit is contained in:
Weves 2024-04-22 17:44:03 -07:00 committed by Chris Weaver
parent 65b65518de
commit 89fac98534

View File

@ -10,7 +10,7 @@ const nextConfig = {
swcMinify: true,
rewrites: async () => {
const eeRedirects =
process.env.NEXT_PUBLIC_ENABLE_PAID_EE_FEATURES === "true"
process.env.NEXT_PUBLIC_ENABLE_PAID_EE_FEATURES?.toLowerCase() === "true"
? [
// user group pages
{