Skip to content

Commit

Permalink
fix: CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbit-22 committed Aug 29, 2023
1 parent 2ba6f65 commit ab70a3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@RestController
@RequestMapping("api/v1/health/graphs")
@RequiredArgsConstructor
@CrossOrigin(origins = "http://cowabugi.com", allowedHeaders = "*")
@CrossOrigin(origins = "http://localhost:5173", allowedHeaders = "*")
public class GraphController {

private final GraphService graphService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@RestController
@RequestMapping("api/v1/health")
@RequiredArgsConstructor
@CrossOrigin(origins = "http://cowabugi.com", allowedHeaders = "*")
@CrossOrigin(origins = "http://localhost:5173", allowedHeaders = "*")
public class HealthContorller {
private final HealthService service;
@PostMapping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@RestController
@RequestMapping("api/v1/members")
@RequiredArgsConstructor
@CrossOrigin(origins = "http://cowabugi.com", allowedHeaders = "*")
@CrossOrigin(origins = "http://localhost:5173", allowedHeaders = "*")
public class memberController {

private final MemberService service;
Expand Down

0 comments on commit ab70a3f

Please sign in to comment.