@CrossOrigin(origins="http://localhost:4200") is asking for array of string not single string
vikas-appdev opened this issue · comments
Vikas Kumar commented
I am using kotlin with spring boot.
Dave Syer commented
Java annotations accept single values in place of arrays. You might have to do something different with Kotlin, but this guide is using Java, so it wouldn't be relevant.