Fix dev server connector headers (#1509)
This commit is contained in:
parent
f832cb4138
commit
7d018e4b59
|
@ -190,7 +190,7 @@ const devServer =
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
headers: (req) => {
|
headers: (req) => {
|
||||||
if (!req.url.includes("connector.html")) {
|
if (!req.originalUrl.includes("connector.html")) {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
key: "Content-Security-Policy",
|
key: "Content-Security-Policy",
|
||||||
|
|
Loading…
Reference in New Issue