Skip to content

Commit 57676dc

Browse files
cors
1 parent 3b8b3f7 commit 57676dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/abdullah/todomanagement/controller/TutorialController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
@RestController
2929
@RequestMapping("api")
30-
@CrossOrigin(origins="http://localhost:4200")
30+
@CrossOrigin(origins={"http://localhost:4200","http://todo-sync-token.herokuapp.com"})
3131
public class TutorialController {
3232

3333
@Autowired

0 commit comments

Comments
 (0)