David Thornley 6 years ago
parent
commit
8f82c6bf42
2 changed files with 1 additions and 0 deletions
  1. BIN
      .DS_Store
  2. 1
    0
      src/main/java/com/ziplinegreen/vault/Controller/PostController.java

BIN
.DS_Store View File


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

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