Skip to content

Resolve "Content-Security-Policy header does not respect CUSTOM_HOSTNAME"

Heinrich Lee Yu requested to merge 42-fix-gitlab-yml-webpack-livereload into master

Configures CSP directives in gitlab.yml based on CUSTOM_HOSTNAME. Webpack livereload requires this because connections to ws://CUSTOM_HOSTNAME:3808 are blocked by the CSP rules.

This also fixes a bug where webpack dev_server is sometimes set to false in gitlab.yml even if USE_WEBPACK_DEV is true.

Closes #42 (closed)

Edited by Heinrich Lee Yu

Merge request reports

Loading