From aa717509e04c788924efacffd9906887d804c295 Mon Sep 17 00:00:00 2001 From: Nicholas Jitkoff Date: Sat, 7 May 2022 13:49:51 -0700 Subject: [PATCH] Reload after compressing site --- docs/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/index.js b/docs/index.js index 5059031..0610224 100644 --- a/docs/index.js +++ b/docs/index.js @@ -109,6 +109,8 @@ bitty.compressDataURL(fragment, function(compressedFragment) { console.log("Compressing long url", fragment.length, compressedFragment.length) window.location.hash = window.location.hash.replace(fragment, compressedFragment); + window.location.reload(); + console.log("Reloading") }) }