Skip to content

Commit 8651ac3

Browse files
committed
debugging
1 parent 0774fcd commit 8651ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var userLayer = koanf.New(".")
4848
var config *koanf.Koanf
4949

5050
func InitEnv() {
51-
ENV.PORT = strconv.Itoa(config.Int("server.port"))
51+
ENV.PORT = strconv.Itoa(defaultsLayer.Int("server.port"))
5252

5353
ENV.API_URL = config.String("api.url")
5454

0 commit comments

Comments
 (0)