Added state to append cors config for use with kibana