1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
Hi,
with the given information, you should enabling CORS at application level.
This is a good list of ways to do that in Springboot: https://www.baeldung.com/spring-cors
Let me know
Contenus pertinents
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
Does your springboot app handle cors?
my spring boot code does not handle cors. I dont want to control cors at code level and want to control from external application/configuration. Please suggest.
Spring boot Code Link : https://github.com/andrewsselvaraj/springbootinmemory/blob/master/spring-boot-h2-database-example/src/main/java/com/efreelearn/controller/StudentController.java
Not sure you have a choice here, see answer below ;)