Skip to content

Commit

Permalink
πŸ› CORS 였λ₯˜ μˆ˜μ •
Browse files Browse the repository at this point in the history
- url을 μΆ”κ°€ν•˜μ˜€μŠ΅λ‹ˆλ‹€.
  • Loading branch information
Ganghee-Lee-0522 committed Jan 12, 2024
1 parent 49e3d23 commit c3baad9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@RestController
@RequiredArgsConstructor
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site"}, allowedHeaders = "*")
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site", "http://localhost:5173"}, allowedHeaders = "*")
@RequestMapping("/api/v1")
public class AttackController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@RestController
@RequiredArgsConstructor
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site"}, allowedHeaders = "*")
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site", "http://localhost:5173"}, allowedHeaders = "*")
@RequestMapping("/api/v1")
public class FollowController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@RestController
@RequiredArgsConstructor
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site"}, allowedHeaders = "*")
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site", "http://localhost:5173"}, allowedHeaders = "*")
@RequestMapping("/api/v1")
public class ItemController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

@RequiredArgsConstructor
@RestController
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site"}, allowedHeaders = "*")
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site", "http://localhost:5173"}, allowedHeaders = "*")
@RequestMapping("/api/v1")
public class MemberController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

@RestController
@RequiredArgsConstructor
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site"}, allowedHeaders = "*")
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site", "http://localhost:5173"}, allowedHeaders = "*")
@RequestMapping("/api/v1/ranking")
public class RankingController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

@RestController
@RequiredArgsConstructor
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site"}, allowedHeaders = "*")
@CrossOrigin(origins = {"https://kidari.site", "https://www.kidari.site", "http://localhost:5173"}, allowedHeaders = "*")
@RequestMapping("/api/v1")
public class UnivController {

Expand Down

0 comments on commit c3baad9

Please sign in to comment.