Fix cors enabled configuration