Updated headers used in applyCors