diff --git a/public/index.html b/public/index.html index e32656b..a0ee93d 100644 --- a/public/index.html +++ b/public/index.html @@ -15,6 +15,11 @@ default: break; } + // redirect with hash + if (window.location.hash){ + path += window.location.hash; + } + window.onload = function () { window.location.href = path; }