Skip to content

Add allowed hosts setting for webpack dev server

Heinrich Lee Yu requested to merge add-webpack-allowed-hosts-config into master

What does this MR do?

Allows configuring of allowedHosts for webpack dev server.

In GCK, we need to allow webpack and CUSTOM_HOSTNAME:3808.

public also adds to the allowed hosts but that only accepts one host, so we need to have this config option.

Related to gitlab-compose-kit!141 (merged)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Heinrich Lee Yu

Merge request reports