Commit b8b43c5e authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'mg-remove-permissive-cors-headers' into 'master'

Remove overly-permissive CORS config for webpack-dev-server

See merge request gitlab-org/gitlab!47883
parents 633a5736 9bd24f43
......@@ -557,10 +557,6 @@ module.exports = {
port: DEV_SERVER_PORT,
public: DEV_SERVER_PUBLIC_ADDR,
https: DEV_SERVER_HTTPS,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': '*',
},
contentBase: false,
stats: 'errors-only',
hot: DEV_SERVER_LIVERELOAD,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment