From d01f6e6d278b42c7355cbb54095a29af01d3f08c Mon Sep 17 00:00:00 2001 From: Alvin Townsend Date: Fri, 31 Jan 2020 11:34:53 +0100 Subject: [PATCH] Correcting path to package.json for running at a path other than root. --- kasmweb/app/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kasmweb/app/ui.js b/kasmweb/app/ui.js index 4a41b6e..63705e7 100644 --- a/kasmweb/app/ui.js +++ b/kasmweb/app/ui.js @@ -82,7 +82,7 @@ const UI = { // Translate the DOM l10n.translateDOM(); - WebUtil.fetchJSON('../package.json') + WebUtil.fetchJSON('./package.json') .then((packageInfo) => { Array.from(document.getElementsByClassName('noVNC_version')).forEach(el => el.innerText = packageInfo.version); })