diff options
author | Alvin Townsend <alvin@parkavenuegaming.com> | 2020-01-31 11:34:53 +0100 |
---|---|---|
committer | Alvin Townsend <alvin@parkavenuegaming.com> | 2020-01-31 11:34:53 +0100 |
commit | 546edcd4a0c04a2ccfa96852dcd0169058c73500 (patch) | |
tree | 4a3db6612b6cbb1d696bf16771be5a1217b1090a | |
parent | 71bb3fdfa58954ca7b0d7be43d974316c727ff4c (diff) | |
download | novnc-546edcd4a0c04a2ccfa96852dcd0169058c73500.tar.gz |
Correcting path to package.json for running at a path other than root.
-rw-r--r-- | app/ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,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); }) |