浏览代码

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