Commit af656442 authored by ibuler's avatar ibuler

[Update] 增加重连截止

parent 30258675
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
import * as io from 'socket.io-client'; import * as io from 'socket.io-client';
import {Terminal} from 'xterm'; import {Terminal} from 'xterm';
// 由于没有真正Upgrade到websocket协议,所以禁用重连截止,否则会用户闪断 export const TermWS = io.connect('/ssh');
export const TermWS = io.connect('/ssh', {'reconnection': false});
export const sep = '/'; export const sep = '/';
export let Video: { export let Video: {
id: string, id: string,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment