diff options
Diffstat (limited to 'language-web/webpack.config.js')
-rw-r--r-- | language-web/webpack.config.js | 5 |
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: [ |