From dcbfeece5e559b60a615f0aa9b933b202d34bf8b Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 25 Oct 2021 00:29:37 +0200 Subject: feat(web): add xtext websocket client --- language-web/webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'language-web/webpack.config.js') diff --git a/language-web/webpack.config.js b/language-web/webpack.config.js index 55b590ca..6714fa6b 100644 --- a/language-web/webpack.config.js +++ b/language-web/webpack.config.js @@ -191,7 +191,10 @@ module.exports = { host: listenHost, port: listenPort, proxy: { - '/xtext-service': `${apiPort === 443 ? 'https' : 'http'}://${apiHost}:${apiPort}`, + '/xtext-service': { + target: `${apiPort === 443 ? 'https' : 'http'}://${apiHost}:${apiPort}`, + ws: true, + }, }, }, plugins: [ -- cgit v1.2.3-70-g09d2