Cache bust plugin assets
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user