Skip to content

Commit

Permalink
refactor : jwtToken 생성 prod에서 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdwnsdnjs13 committed Sep 8, 2024
1 parent 815f697 commit b2d0ec4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.depromeet.spot.application.member.dto.response.JwtTokenResponse;
import org.depromeet.spot.domain.member.Member;
import org.depromeet.spot.domain.member.enums.MemberRole;
import org.springframework.context.annotation.Profile;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
Expand All @@ -19,6 +20,7 @@
@Slf4j
@Tag(name = "Jwt 생성용")
@RequestMapping("/api/v1/jwts")
@Profile("!prod")
public class JwtCreateController {

private final JwtTokenUtil jwtTokenUtil;
Expand Down

0 comments on commit b2d0ec4

Please sign in to comment.