Skip to content

Commit

Permalink
fix: cors 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchijinju committed Nov 22, 2024
1 parent e01f670 commit 351424e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

@RestController
@RequiredArgsConstructor
@CrossOrigin(origins = {"*"}, methods = {RequestMethod.GET, RequestMethod.POST, RequestMethod.OPTIONS})
@CrossOrigin(origins = {"*"}, methods = {RequestMethod.GET, RequestMethod.PUT, RequestMethod.OPTIONS})
@Tag(name = "watch", description = "소환사 감시 API")
@RequestMapping("/app/watch")
public class WatchController {
Expand All @@ -38,7 +38,7 @@ public class WatchController {
애인, 친구, 동료, 자녀, 라이벌, 스트리머
""")
@JwtAuth
public CreateSummonerResponse putkWatchSummoner(@RequestAttribute("id") Long userId,
public CreateSummonerResponse putWatchSummoner(@RequestAttribute("id") Long userId,
@RequestBody WatchSummonerRequest request) {
return watchService.watchSummoner(userId,
request.getSummonerName(),
Expand Down

0 comments on commit 351424e

Please sign in to comment.