Skip to content
Snippets Groups Projects
Commit 732d7a0c authored by Anders Austlid's avatar Anders Austlid
Browse files

Added todo-message, this change is temporary fix

parent 9f53a79f
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,9 @@ public class CorsConfig {
@Bean
public WebMvcConfigurer corsConfigurer() {
return new WebMvcConfigurer() {
/**
* TODO: Change allowedOrigins setup (Can be done in application.properties?)
*/
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment