Skip to content

Commit

Permalink
chore: replace yml to properties
Browse files Browse the repository at this point in the history
- 배포 편리를 위해 교체
  • Loading branch information
sunnyineverywhere committed Feb 3, 2023
1 parent 6c2a747 commit 72db799
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 72 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ src/main/resources/application-oauth.properties
src/main/resources/application-cloud.properties
src/main/resources/application-springboot.yml
/.env
.env
.env

*.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;

@Getter
@Setter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value = "classpath:/application.properties")
public class JwtConfig {
@Value("${jwt.secret}")
@Value("${spring.jwt.secret}")
private String secret;

@Bean
Expand Down
70 changes: 0 additions & 70 deletions src/main/resources/application.yml

This file was deleted.

0 comments on commit 72db799

Please sign in to comment.