Closed blootsvoets closed 1 year ago
@mpgxvii were the cors issues that popped up again fixed?
Btw: in radar-Kubernetes you can fix cors by using an annotation nginx.ingress.kubernetes.io/enable-cors: "true"
to the ingress
@mpgxvii were the cors issues that popped up again fixed?
@yatharthranjan I haven't gotten a chance to fix it yet. Will do that today.
Btw: in radar-Kubernetes you can fix cors by using an annotation
nginx.ingress.kubernetes.io/enable-cors: "true"
to the ingress
@blootsvoets Okay thanks! Will try this method.
Btw: in radar-Kubernetes you can fix cors by using an annotation nginx.ingress.kubernetes.io/enable-cors: "true" to the ingress
@yatharthranjan @blootsvoets Updating the ingress works. But I've also added the @CrossOrigin
annotations to the controllers here: https://github.com/RADAR-base/RADAR-Appserver/pull/430/commits/8d274e46c8b4aef0ddeef842ef7f2ba917a798ee. The CORS issue might have to do with library issues (https://stackoverflow.com/questions/64892592/cors-enabled-in-spring-boot-with-angular-still-cors-errors). I've tried adding different configs to filter chain and cors configurer but no luck. I'll try to improve this later, but meanwhile adding the annotation to the controller fixes the issue.
Changes since version 2.0.1: