This commit is contained in:
tamaina 2021-02-14 21:42:32 +09:00
parent a7142f334c
commit 875e53d9d5
1 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@ export const reloadChannel = new BroadcastChannel<'reload'>('reload');
// BroadcastChannelを用いて、クライアントが一斉にreloadするようにします。
export function unisonReload() {
reloadChannel.postMessage('reload');
location.reload();
reloadChannel.postMessage('reload');
location.reload();
}