1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

fix(websocket): RELATIVE_URL_ROOT not works on websockify (#157)

This commit is contained in:
Doro Wu
2020-05-26 15:21:30 +08:00
parent ae4e571be3
commit 9d7362e87c
3 changed files with 18 additions and 15 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ export default {
// console.trace()
console.log(`connecting...`)
this.errorMessage = ''
let websockifyPath = 'websockify'
let websockifyPath = location.pathname.substr(1) + 'websockify'
if (force || this.vncState === 'stopped') {
this.vncState = 'connecting'
let hostname = window.location.hostname