Web: fix auto-reloading
Fix an issue with the hourly auto-reloading, where the `reload()` call somehow was called on "an object that doesn't implement the Location interface".
This commit is contained in:
parent
2c932ebad5
commit
dc43049183
@ -17,7 +17,7 @@ window.objectEmpty = (o) => !o || Object.entries(o).length == 0;
|
||||
// Do a full refresh once per hour. This is just to make sure that long-lived
|
||||
// displays (like the TV in the hallway at Blender HQ) pick up on HTML/JS/CSS
|
||||
// changes eventually.
|
||||
window.setTimeout(window.location.reload, 3600 * 1000);
|
||||
window.setTimeout(() => {window.location.reload(); }, 3600 * 1000);
|
||||
|
||||
const app = createApp(App)
|
||||
const pinia = createPinia()
|
||||
|
Loading…
x
Reference in New Issue
Block a user