Skip to content

Commit

Permalink
fix CORS 에러 수정, credential은 와일드카드 CORS허용 불가
Browse files Browse the repository at this point in the history
  • Loading branch information
장준하 authored and 장준하 committed Aug 7, 2024
1 parent 15fffc1 commit 592378b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@Tag(name = "admin API", description = "admin API 설계입니다")
@RestController
@RequestMapping("/admin")
@CrossOrigin(origins = "*", allowCredentials = "true")
@CrossOrigin(origins = {"https://www.batro.org", "http://localhost"}, allowCredentials = "true")
public class AdminController {

private final EventService eventService;
Expand Down

0 comments on commit 592378b

Please sign in to comment.