Skip to content

Commit

Permalink
refactor(flat-web): use active to launch electron (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheerego7 authored Jun 17, 2021
1 parent b58da8d commit 9ce795f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/flat-web/src/pages/JoinPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const JoinPage = observer(function JoinPage() {

checkLogin();

window.location.href = "x-agora-flat-client://open";
window.location.href = "x-agora-flat-client://active";
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

Expand Down Expand Up @@ -107,7 +107,7 @@ export const JoinPage = observer(function JoinPage() {
</div>
<div className="join-page-content-container-open-flat">
<span>已经安装 Flat ? </span>
<a href="x-agora-flat-client://open">立即打开</a>
<a href="x-agora-flat-client://active">立即打开</a>
</div>
</div>
<div className="join-page-footer-container">
Expand Down

0 comments on commit 9ce795f

Please sign in to comment.