Enable CORS. Disabled by default, enable by passing 'useCors: true' in config/default.yaml