Only enable full CORS config if a domain is specified
The public CORS config was always overriden by the more generic config. Credentials are no longer allowed to be sent with default CORS config.
The public CORS config was always overriden by the more generic config. Credentials are no longer allowed to be sent with default CORS config.