From 51dcbe2e0357b8ece757436db355053695141b9e Mon Sep 17 00:00:00 2001 From: Abhimanyu Yadav <122007096+Abhi1992002@users.noreply.github.com> Date: Thu, 7 Nov 2024 10:01:18 +0530 Subject: [PATCH] add : build env --- autogpt_platform/frontend/src/components/nav/MarketPopup.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogpt_platform/frontend/src/components/nav/MarketPopup.tsx b/autogpt_platform/frontend/src/components/nav/MarketPopup.tsx index 0f40bbd3bd84..c04c32ecc3e2 100644 --- a/autogpt_platform/frontend/src/components/nav/MarketPopup.tsx +++ b/autogpt_platform/frontend/src/components/nav/MarketPopup.tsx @@ -8,9 +8,9 @@ interface MarketPopupProps extends ButtonHTMLAttributes { export default function MarketPopup({ className = "", marketplaceUrl = (() => { - if (process.env.APP_ENV === "prod") { + if (process.env.NEXT_PUBLIC_APP_ENV === "prod") { return "https://production-marketplace-url.com"; - } else if (process.env.APP_ENV === "dev") { + } else if (process.env.NEXT_PUBLIC_APP_ENV === "dev") { return "https://dev-builder.agpt.co/marketplace"; } else { return "http://localhost:3000/marketplace";