Cross Origins Setup (CORS)
If you need to restrict the access to the NGSurvey's API to given domains you may set following environment variables on the platform you use to host ngSurvey.
NGSurvey:AllowedCORSOrigins
The domains must be separated by a comma eg:
NGSurvey:AllowedCORSOrigins = "https//www.domain.com,https://*.domain2.com"
Last updated