This MR adds the ability to configure the CORS origins.
BREAKING: The CORS origins now need to be configured.