Skip to content
Snippets Groups Projects
Commit 76b2c31d authored by Mike Greiling's avatar Mike Greiling
Browse files

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
parents 05170e0d e78b2190
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment