aboutsummaryrefslogtreecommitdiffstats
path: root/language-web/webpack.config.js
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-10-25 00:29:37 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-10-31 19:26:11 +0100
commitdcbfeece5e559b60a615f0aa9b933b202d34bf8b (patch)
treeafdacff7492284f5f8cc147c4b84e4ba5db259b3 /language-web/webpack.config.js
parenttest(web): more websocket integration tests (diff)
downloadrefinery-dcbfeece5e559b60a615f0aa9b933b202d34bf8b.tar.gz
refinery-dcbfeece5e559b60a615f0aa9b933b202d34bf8b.tar.zst
refinery-dcbfeece5e559b60a615f0aa9b933b202d34bf8b.zip
feat(web): add xtext websocket client
Diffstat (limited to 'language-web/webpack.config.js')
-rw-r--r--language-web/webpack.config.js5
1 files changed, 4 insertions, 1 deletions
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 = {
191 host: listenHost, 191 host: listenHost,
192 port: listenPort, 192 port: listenPort,
193 proxy: { 193 proxy: {
194 '/xtext-service': `${apiPort === 443 ? 'https' : 'http'}://${apiHost}:${apiPort}`, 194 '/xtext-service': {
195 target: `${apiPort === 443 ? 'https' : 'http'}://${apiHost}:${apiPort}`,
196 ws: true,
197 },
195 }, 198 },
196 }, 199 },
197 plugins: [ 200 plugins: [