Skip to content

Commit

Permalink
Revert "Add keep-alive option in webpack devServer"
Browse files Browse the repository at this point in the history
This reverts commit bf37b31.

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: #94
Change-Id: I6174c75e35784ff370f6adf7841c98ae78a26ceb
Signed-off-by: Paul Fertser <[email protected]>
  • Loading branch information
paulfertser authored and sivaprabug committed Jun 13, 2024
1 parent d7cd12c commit 8c4bb44
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c4bb44

Please sign in to comment.