Skip to content

Commit 1a55c9f

Browse files
authored
redirection for models (#1334)
1 parent 9e5e729 commit 1a55c9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gui/pages/Content/Marketplace/MarketplacePublic.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import Market from './Market';
66
export default function MarketplacePublic({env}) {
77
const handleSignupClick = () => {
88
if (env === 'PROD') {
9-
window.open(`https://app.superagi.com/`, '_self');
9+
const url = localStorage.getItem('marketplace_tab') === 'market_models' ? 'https://models.superagi.com/' : 'https://app.superagi.com/';
10+
window.open(url, '_self');
1011
} else {
1112
window.location.href = '/';
1213
}

0 commit comments

Comments
 (0)