3

how can I enable CORS on the Azure application gateway ? I have a signalhub running on Azure kubernetes service as a Dapr app. The app has All .net cors policies setup correctly, issue seems to be from the JavaScript to the gateway.

2 Answers2

5

enter image description here

Setting a rewrite rule on the application Gateway like below resolves the issue.

5

You can enable Access-Control-Allow-Origin Responde Header in Rewrites, on your Application Gateway

Enable Access-Control-Allow-Origin Responde Header

zenatuz
  • 59
  • 1
  • 4