Skip to content

Commit

Permalink
feat: fix the default display of the coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Jan 3, 2025
1 parent 4b65d28 commit d0505d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/studio-website/src/pages/setting/coordinator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const Coordinator: React.FunctionComponent = () => {
window.location.reload();
}
};
const defaultValue = Utils.storage.get<string>('coordinator') || location.origin;
const defaultValue =
Utils.storage.get<string>('coordinator') ||
(location.origin === 'https://gsp.vercel.app' ? 'http://127.0.0.1:8080' : location.origin);
return (
<SettingParcel
style={{ margin: '0px' }}
Expand Down

0 comments on commit d0505d4

Please sign in to comment.