Fall back to default path.

This commit is contained in:
Ryan Lovett 2018-04-18 17:10:13 -07:00 committed by GitHub
parent 2ba5cdb454
commit 783dab4878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.