79646422

Date: 2025-05-31 08:10:19
Score: 1
Natty:
Report link

I tried all the suggestions from here like use of config.setAllowedOrigins instead of config.addAllowed() but in my case I had

@CrossOrigin(origins = "*")

added before my controller which was causing this. Removing this resolved the error.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Naman Madharia