summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2024-06-05 21:37:48 +0300
committerSivaprabu Ganesan <sivaprabug@ami.com>2024-06-13 08:10:09 +0300
commit8c4bb44cf2742d65051f10c92acb1b3dac4cb2b4 (patch)
tree245207d47d831e2ff2c274b3e33b8efe2961f21b
parentd7cd12c2c1c907cae24af6af8711a20291624523 (diff)
downloadwebui-vue-8c4bb44cf2742d65051f10c92acb1b3dac4cb2b4.tar.xz
Revert "Add keep-alive option in webpack devServer"
This reverts commit bf37b317496c80dc9a87f49356efdab8a3b50caa. The current version of the stack doesn't prevent logging in and all operations without overriding "Connection:" header. This overriding is making it impossible to test any WebSocket-based functionality (IP KVM, SOL, Virtual Media). Tested: logging in, navigating the interface, using IP KVM and SOL console. Fixes: https://github.com/openbmc/webui-vue/issues/94 Change-Id: I6174c75e35784ff370f6adf7841c98ae78a26ceb Signed-off-by: Paul Fertser <fercerpav@gmail.com>
-rw-r--r--vue.config.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/vue.config.js b/vue.config.js
index c1dd2ec1..38b4be93 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -43,9 +43,6 @@ module.exports = {
proxy: {
'/': {
target: process.env.BASE_URL,
- headers: {
- Connection: 'keep-alive',
- },
onProxyRes: (proxyRes) => {
// This header is ignored in the browser so removing
// it so we don't see warnings in the browser console