Add cors configurations.