Reload after compressing site

This commit is contained in:
Nicholas Jitkoff 2022-05-07 13:49:51 -07:00
parent be3c079a45
commit aa717509e0

View file

@ -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")
})
}