From 85032e17169884db7c59705a7192523b7c9163da Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sun, 18 Aug 2024 22:26:48 +1200 Subject: [PATCH] bypass electron browser cache when loading main page --- electron/loading.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/electron/loading.html b/electron/loading.html index ca16f80..1da70a9 100644 --- a/electron/loading.html +++ b/electron/loading.html @@ -67,7 +67,9 @@ } 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; }