diff --git a/vnc_lite.html b/vnc_lite.html
index e3aea394..53647370 100644
--- a/vnc_lite.html
+++ b/vnc_lite.html
@@ -201,7 +201,7 @@
defaultPath = pathName + '/websockify';
}
}
- var path = WebUtil.getConfigVar('path', 'websockify');
+ var path = WebUtil.getConfigVar('path', defaultPath);
// If a token variable is passed in, set the parameter in a cookie.
// This is used by nova-novncproxy.