Skip to content

Commit 6ec98b2

Browse files
authored
Update loader.go
1 parent c0bafab commit 6ec98b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/config/loader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func Load() {
6969
}
7070

7171
func InitEnv() {
72-
ENV.PORT = strconv.Itoa(config.Int("server.port"))
72+
ENV.PORT = strconv.Itoa(config.Int("service.port"))
7373

7474
ENV.LOG_LEVEL = strings.ToLower(config.String("loglevel"))
7575

@@ -106,4 +106,4 @@ func LoadConfig() {
106106
log.Error("Could not Load Config ", ENV.CONFIG_PATH, ": ", conErr.Error())
107107
}
108108
}
109-
}
109+
}

0 commit comments

Comments
 (0)