Open andresoviedo opened 11 months ago
hi, thank you. nice piece of work !
i think i found 1 bug on this line (main branch)
let ws = new WebSocket(`${sec?"wss":"ws"}://${location.host}/${terminal`);
this is my patch to work when the app is not deployed at the root path (e.g. /cloudterm/, /cloudtem/terminal)
let ws = new WebSocket(`${sec?"wss":"ws"}://${location.host}${location.pathname}terminal`);
i think the solution should be something robust to support the context path
regards
hi, thank you. nice piece of work !
i think i found 1 bug on this line (main branch)
this is my patch to work when the app is not deployed at the root path (e.g. /cloudterm/, /cloudtem/terminal)
i think the solution should be something robust to support the context path
regards