mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #2442 from Tyriar/2441_windows_demo
Fix demo on Windows
This commit is contained in:
+2
-5
@@ -3,11 +3,8 @@ var expressWs = require('express-ws');
|
||||
var os = require('os');
|
||||
var pty = require('node-pty');
|
||||
|
||||
/**
|
||||
* Whether to use binary transport.
|
||||
*/
|
||||
const USE_BINARY = true;
|
||||
|
||||
// Whether to use binary transport.
|
||||
const USE_BINARY = os.platform() !== "win32";
|
||||
|
||||
function startServer() {
|
||||
var app = express();
|
||||
|
||||
Reference in New Issue
Block a user