From 7d018e4b59bc3d99cc85ac04e6953cc0107a41b3 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Wed, 2 Mar 2022 15:27:34 -0500 Subject: [PATCH] Fix dev server connector headers (#1509) --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 170df1e7e3..39964fa602 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -190,7 +190,7 @@ const devServer = }, }, headers: (req) => { - if (!req.url.includes("connector.html")) { + if (!req.originalUrl.includes("connector.html")) { return [ { key: "Content-Security-Policy",