瀏覽代碼

cors are dumb

David Thornley 6 年之前
父節點
當前提交
47afad301e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/java/com/ziplinegreen/vault/Controller/PostController.java

+ 1
- 1
src/main/java/com/ziplinegreen/vault/Controller/PostController.java 查看文件

@@ -8,7 +8,7 @@ import org.springframework.messaging.handler.annotation.MessageMapping;
8 8
 import org.springframework.messaging.handler.annotation.SendTo;
9 9
 import org.springframework.web.bind.annotation.*;
10 10
 
11
-@CrossOrigin
11
+//@CrossOrigin
12 12
 @RestController
13 13
 public class PostController {
14 14