baseline
baseline copied to clipboard
[SRI] enable cors setting
Overview
We need to make sure that the CORS is enabled properly before we move to PROD.
Tasks
change in main.ts the cors settings
Could you please describe in more detail what does it mean to have CORS enabled properly and how will the completion of this issue be tested?
I think enabled properly here means that the cors setting only allow exactly our expectations within requests - Testing could be run through calls that adhere or not to cors expectations. See more here https://github.com/expressjs/cors#configuration-options