transportMode from ws to sockjs for better lens-proxy support

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen committed 2021-01-07 11:23:55 +08:00
1 parent 571565fd10
commit 696f4a39d4
1 file changed
+1
+1
View File
@@ -29,6 +29,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
host: "localhost", host: "localhost",
firewall: false, firewall: false,
headers: { "Access-Control-Allow-Origin": "*" }, headers: { "Access-Control-Allow-Origin": "*" },
transportMode: "sockjs"
}, },
name: "lens-app", name: "lens-app",
mode: isProduction ? "production" : "development", mode: isProduction ? "production" : "development",