yuuvis® RAD Q&A

+2 votes
by (380 points)


we need to enable CORS for an angular-app hosted on another server. Where in yuuvis can this be done?


1 Answer

0 votes
by (1.2k points)

Hi Stefan,

this can be configured in the gateway configuration (services\config\gateway-prod.yml). You can choose between a more general configuration or explicitly set allowed origins.

# Example 1
# activate cors filter
# allow all origins '*'
cors.enabled: true
# Example 2
# activate cors filter
# only allow requests from the https://yuuvis.io and  https://enaioci.net origins
cors.enabled: true
  - https://yuuvis.io
  - https://enaioci.net

Related questions

+1 vote
1 answer
asked Mar 27, 2023 by Martin Januschke (660 points)
0 votes
1 answer