Cache bust plugin assets

This commit is contained in:
Mikei386
2026-06-23 07:00:26 +02:00
parent 068973ab9b
commit d7a62eb15e
6 changed files with 10 additions and 6 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
const workspace = document.querySelector('#workspace');
const statusText = document.querySelector('#statusText');
const API_BASE = window.UNAV_API_BASE || '/api';
const APP_VERSION = window.UNAV_VERSION || 'dev';
const state = {
config: null,
windows: [],
@@ -48,7 +49,7 @@ async function init() {
if (!state.config.roots?.length) {
throw new Error('No U-Navigator roots configured');
}
statusText.textContent = `${state.config.roots.length} Root, ${state.config.readOnly ? 'Read-only' : 'Schreibzugriff aktiv'}`;
statusText.textContent = `${state.config.roots.length} Root, ${state.config.readOnly ? 'Read-only' : 'Schreibzugriff aktiv'} · ${APP_VERSION}`;
openExplorer(state.config.roots[0].path);
openProperties();
openQueue();