Skip to content

Commit

Permalink
Merge branch 'main' of github.com:AgoraIO/agora-iot-callkit-web
Browse files Browse the repository at this point in the history
  • Loading branch information
lienbaoagora committed Oct 28, 2024
2 parents 12857b3 + 3e1aca7 commit 41b9f2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/web/src/hooks/useAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => {
nodeRegion: res.data?.nodeRegion,
nodeToken: res.data?.nodeToken,
});
location.href = "/#/";
location.reload();
}
};

Expand Down
2 changes: 1 addition & 1 deletion examples/web/src/pages/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Settings = () => {
Toast.show({
content: "保存成功",
});
location.href = "/";
location.href = location.origin + location.pathname;
};

const onFinishFailed = (errorInfo: any) => {
Expand Down

0 comments on commit 41b9f2e

Please sign in to comment.