Merge branch '46741-add-access-control-allow-headers-wds' into 'master'
Add `Access-Control-Allow-Headers` to Webpack Dev Server config Closes #46741 See merge request gitlab-org/gitlab-ce!19131
This commit is contained in:
commit
76b2c31ddb
1 changed files with 4 additions and 1 deletions
|
@ -306,7 +306,10 @@ module.exports = {
|
|||
host: DEV_SERVER_HOST,
|
||||
port: DEV_SERVER_PORT,
|
||||
disableHostCheck: true,
|
||||
headers: { 'Access-Control-Allow-Origin': '*' },
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
'Access-Control-Allow-Headers': '*',
|
||||
},
|
||||
stats: 'errors-only',
|
||||
hot: DEV_SERVER_LIVERELOAD,
|
||||
inline: DEV_SERVER_LIVERELOAD,
|
||||
|
|
Loading…
Reference in a new issue