Open coratgerl opened 3 weeks ago
We need to add a param in config of Wabe to add a cors object. We need to overwrite the default configuration if this params is setup.
A param in config inside a new object name "security".
... security : { cors: { origin : ["..."], credentials: false .... } }
Overwrite here (and also the this.server.options), inside server/index.ts file :
Is your feature request related to a problem? Please describe.
We need to add a param in config of Wabe to add a cors object. We need to overwrite the default configuration if this params is setup.
Describe the solution you'd like
A param in config inside a new object name "security".
AdditionalContext
Overwrite here (and also the this.server.options), inside server/index.ts file :