David Thornley 6 years ago
parent
commit
8f82c6bf42

BIN
.DS_Store View File


+ 1
- 0
src/main/java/com/ziplinegreen/vault/Controller/PostController.java View File

29
         return postService.createPost(post);
29
         return postService.createPost(post);
30
     }
30
     }
31
 
31
 
32
+    @CrossOrigin
32
     @GetMapping("/posts/all")
33
     @GetMapping("/posts/all")
33
     public Iterable<Post> getAllPosts() {
34
     public Iterable<Post> getAllPosts() {
34
         return postService.getAllPosts();
35
         return postService.getAllPosts();