Added access control header for start mode

no refs

- since portal script is loaded with `crossorigin:anonymous` now, we need to pass in the access control headers for script to bypass cors check
This commit is contained in:
Rishabh 2021-06-22 17:07:14 +05:30
parent 5548cc9ab8
commit c7a3fdc639

View File

@ -131,6 +131,9 @@ function startDevServer() {
headers: [{
key: 'Cache-Control',
value: 'no-cache'
},{
key: 'Access-Control-Allow-Origin',
value: '*'
}]
}
]