Cors constructor
Cors({})
Creates a new Cors instance with the specified configuration.
Implementation
Cors({
this.origin = '*',
this.methods = 'GET, POST, PUT, DELETE, PATCH, OPTIONS',
this.headers = 'Origin, Content-Type, Accept, Authorization',
});