mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-30 03:53:09 +01:00
Correcting path to package.json for running at a path other than root.
This commit is contained in:
parent
c1160d1468
commit
d01f6e6d27
@ -82,7 +82,7 @@ const UI = {
|
|||||||
// Translate the DOM
|
// Translate the DOM
|
||||||
l10n.translateDOM();
|
l10n.translateDOM();
|
||||||
|
|
||||||
WebUtil.fetchJSON('../package.json')
|
WebUtil.fetchJSON('./package.json')
|
||||||
.then((packageInfo) => {
|
.then((packageInfo) => {
|
||||||
Array.from(document.getElementsByClassName('noVNC_version')).forEach(el => el.innerText = packageInfo.version);
|
Array.from(document.getElementsByClassName('noVNC_version')).forEach(el => el.innerText = packageInfo.version);
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user