baseline icon indicating copy to clipboard operation
baseline copied to clipboard

[SRI] enable cors setting

Open Manik-Jain opened this issue 2 years ago • 2 comments

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

Manik-Jain avatar Nov 15 '22 00:11 Manik-Jain

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?

ognjenkurtic avatar Nov 15 '22 15:11 ognjenkurtic

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

Kasshern avatar Feb 24 '23 16:02 Kasshern