Skip to content

Commit

Permalink
UPDATE: main 시간 설정 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwupark committed Nov 22, 2023
1 parent fc1e928 commit 8fcb674
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/java/com/server/mappin/MappinApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;
import java.util.TimeZone;

@SpringBootApplication
public class MappinApplication {

@PostConstruct
void started() {
TimeZone.setDefault(TimeZone.getTimeZone("Asia/Seoul"));
}
public static void main(String[] args) {
SpringApplication.run(MappinApplication.class, args);
}
Expand Down

0 comments on commit 8fcb674

Please sign in to comment.