Skip to content
Permalink
Browse files

fix(web-multi-logger): fix xterm path resolution

  • Loading branch information
MarshallOfSound committed May 7, 2018
1 parent cbe2c18 commit 39509d9c520bfb5b5c3596168cadd68ef490f643
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/utils/web-multi-logger/src/Logger.ts
@@ -21,7 +21,7 @@ export default class Logger {
return res.json(this.tabs);
});

this.app.use('/xterm', express.static(path.resolve(__dirname, '..', 'node_modules', 'xterm', 'dist')));
this.app.use('/xterm', express.static(path.resolve(require.resolve('xterm'), '../../dist')));
this.app.use(express.static(path.resolve(__dirname, '..', 'static')));
(this.app as any).ws('/sub', () => {});
}

0 comments on commit 39509d9

Please sign in to comment.
You can’t perform that action at this time.