diff --git a/src/client/init.ts b/src/client/init.ts index 4484cbb497..8789128b73 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -90,8 +90,8 @@ document.addEventListener('touchend', () => {}, { passive: true }); // 一斉リロード reloadChannel.addEventListener('message', path => { - if (path === 'reload') - location.reload() + if (path === 'reload') location.reload(); + else location.href = path; }); //#region SEE: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/