Skip to content

Commit e9d7013

Browse files
marco76marco76
authored andcommitted
properties fix
1 parent 7226623 commit e9d7013

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

backend/src/main/java/dev/marco/example/springboot/feature/FeatureController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* The goal of this controller is to show the test of the services and some REST methods
1212
*/
1313
@RestController
14-
@CrossOrigin(origins = {"${app.dev.frontend.local"})
14+
@CrossOrigin(origins = {"${app.dev.frontend.local}"})
1515
public class FeatureController {
1616

1717
@Autowired

backend/src/main/java/dev/marco/example/springboot/hello/HelloController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@RestController
1212
// we allow cors requests from our frontend environment
1313
// note the curly braces that creates an array of strings ... required by the annotation
14-
@CrossOrigin(origins = {"${app.dev.frontend.local"})
14+
@CrossOrigin(origins = {"${app.dev.frontend.local}"})
1515
public class HelloController {
1616

1717
// simple GET response for our example purpose, we return a JSON structure
File renamed without changes.

0 commit comments

Comments
 (0)