Skip to content

Commit

Permalink
fix: @value(spring.profiles.active) default값 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
egg528 committed Mar 27, 2024
1 parent e97bc4e commit 583201f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import java.util.concurrent.TimeUnit

@Component
class StateOAuth2AuthorizationRequestRepository(
@Value("\${spring.profiles.active}")
@Value("\${spring.profiles.active:local}")
private val profile: String,
val loginRequestRefererStorage: LoginRequestRefererStorage,
) : AuthorizationRequestRepository<OAuth2AuthorizationRequest> {
Expand Down

0 comments on commit 583201f

Please sign in to comment.