David Thornley 6 gadus atpakaļ
vecāks
revīzija
8f82c6bf42

Binārs
.DS_Store Parādīt failu


+ 1
- 0
src/main/java/com/ziplinegreen/vault/Controller/PostController.java Parādīt failu

@@ -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();