Skip to content

Commit

Permalink
redirection for models (TransformerOptimus#1334)
Browse files Browse the repository at this point in the history
  • Loading branch information
namansleeps authored Oct 11, 2023
1 parent 9e5e729 commit 1a55c9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/pages/Content/Marketplace/MarketplacePublic.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import Market from './Market';
export default function MarketplacePublic({env}) {
const handleSignupClick = () => {
if (env === 'PROD') {
window.open(`https://app.superagi.com/`, '_self');
const url = localStorage.getItem('marketplace_tab') === 'market_models' ? 'https://models.superagi.com/' : 'https://app.superagi.com/';
window.open(url, '_self');
} else {
window.location.href = '/';
}
Expand Down

0 comments on commit 1a55c9f

Please sign in to comment.