添加跨域支持
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -23,7 +23,7 @@ import java.util.Map; | ... | @@ -23,7 +23,7 @@ import java.util.Map; |
| 23 | @Slf4j | 23 | @Slf4j |
| 24 | @RequestMapping("/api") | 24 | @RequestMapping("/api") |
| 25 | @RequiredArgsConstructor | 25 | @RequiredArgsConstructor |
| 26 | @CrossOrigin(origins = "*", allowCredentials = "true", maxAge = 3600) | 26 | @CrossOrigin |
| 27 | public class ApiController { | 27 | public class ApiController { |
| 28 | private final EnvConfiguration configuration; | 28 | private final EnvConfiguration configuration; |
| 29 | 29 | ... | ... |
-
Please register or sign in to post a comment