We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed577ee commit 234e1d0Copy full SHA for 234e1d0
src/main/java/org/sopt/makers/global/util/EnvUtil.java
@@ -15,9 +15,7 @@
15
public final class EnvUtil {
16
private static final String SLACK_WEBHOOK_PREFIX = "SLACK_WEBHOOK_";
17
private static final String DISCORD_WEBHOOK_PREFIX = "DISCORD_WEBHOOK_";
18
- private static final Dotenv dotenv = Dotenv.configure()
19
- .directory("src/main/resources") // .env 파일 경로 지정
20
- .load();
+ private static final Dotenv dotenv = Dotenv.configure().load();
21
22
/**
23
* 서비스 유형에 맞는 웹훅 URL 반환
0 commit comments