webssh

Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit 9945d907a9f6952b4582906d2350c7026a1c5d63
parent af0cbfbf6ca9cd2f666e64260e04c8b4177ea7df
Author: Shengdun Hua <webmaster0115@gmail.com>
Date:   Thu, 18 Apr 2019 19:12:26 +0800

Merge pull request #58 from MarcoDuiker/patch-1

Update main.js
Diffstat:
Mwebssh/static/js/main.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js @@ -210,7 +210,7 @@ jQuery(function($){ return; } - var ws_url = window.location.href.replace('http', 'ws'), + var ws_url = window.location.href.split('?')[0].replace('http', 'ws'), join = (ws_url[ws_url.length-1] === '/' ? '' : '/'), url = ws_url + join + 'ws?id=' + msg.id, sock = new window.WebSocket(url),