+2
-3
@@ -32,9 +32,8 @@ function startServer() {
|
|||||||
res.sendFile(__dirname + '/style.css');
|
res.sendFile(__dirname + '/style.css');
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/dist/client-bundle.js', function(req, res){
|
app.use('/dist', express.static(__dirname + '/dist'));
|
||||||
res.sendFile(__dirname + '/dist/client-bundle.js');
|
app.use('/src', express.static(__dirname + '/src'));
|
||||||
});
|
|
||||||
|
|
||||||
app.post('/terminals', function (req, res) {
|
app.post('/terminals', function (req, res) {
|
||||||
const env = Object.assign({}, process.env);
|
const env = Object.assign({}, process.env);
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
"xterm-addon-attach": ["../addons/xterm-addon-attach"],
|
"xterm-addon-attach": ["../addons/xterm-addon-attach"],
|
||||||
"xterm-addon-fit": ["../addons/xterm-addon-fit"],
|
"xterm-addon-fit": ["../addons/xterm-addon-fit"],
|
||||||
"xterm-addon-search": ["../addons/xterm-addon-search"],
|
"xterm-addon-search": ["../addons/xterm-addon-search"],
|
||||||
"xterm-addon-web-links": ["../addons/xterm-addon-web-links"]
|
"xterm-addon-web-links": ["../addons/xterm-addon-web-links"],
|
||||||
|
"xterm-addon-webgl": ["../addons/xterm-addon-webgl"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|||||||
Reference in New Issue
Block a user