Skip to content

Commit c9258f5

Browse files
committed
feat : commandLineRunner에 'dev' 프로파일 설정
1 parent 58dac4f commit c9258f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/prgrms/kdtspringdemo/AppController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
import org.slf4j.Logger;
1212
import org.slf4j.LoggerFactory;
1313
import org.springframework.boot.CommandLineRunner;
14+
import org.springframework.context.annotation.Profile;
1415
import org.springframework.stereotype.Controller;
1516

1617
import java.io.IOException;
1718

1819
@Controller
20+
@Profile("dev")
1921
public class AppController implements CommandLineRunner {
2022
private final InputConsole inputConsole;
2123
private final OutputConsole outputConsole;

0 commit comments

Comments
 (0)