Skip to content

Commit

Permalink
add : build env
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhi1992002 authored Nov 7, 2024
1 parent cb8807b commit 51dcbe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogpt_platform/frontend/src/components/nav/MarketPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ interface MarketPopupProps extends ButtonHTMLAttributes<HTMLButtonElement> {
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";
Expand Down

0 comments on commit 51dcbe2

Please sign in to comment.