bypass electron browser cache when loading main page

This commit is contained in:
liamcottle
2024-08-18 22:26:48 +12:00
parent 528f167d2f
commit 85032e1716

View File

@@ -67,7 +67,9 @@
} }
function onReady() { function onReady() {
window.location.href = "http://localhost:9337"; // redirect to meshchat and bypass browser cache
var timestamp = (new Date()).getTime();
window.location.href = "http://localhost:9337/?nocache=" + timestamp;
} }
</script> </script>