Set CDN config to match the CLI arg we override with anyway
Set CDN config to match the CLI arg we override with anyway
We already set cdn:use
to true
in development when running the
watch server command and pass in the CLI option to override this,
https://gitlab.com/gitlab-org/gitter/webapp/-/blob/046b7cc354f26fc1bef282d80efbffd21c62d517/build-scripts/gulpfile-process.js#L113
The mismatch was causing inconsistent results when trying to use gitter-web-cdn
outside of the server flow like in the webpack build.