Skip to content

Commit

Permalink
refactor: use connfig.yaml for server config
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisuhag committed Jun 30, 2023
1 parent c447e54 commit 621eda6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ vendor/
# Project specific ignore
.env
/compass
config.yaml
/config.yaml
compass.yaml
temp/
2 changes: 1 addition & 1 deletion cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func LoadFromCurrentDir(cfg *Config) error {
var opts []config.LoaderOption
opts = append(opts,
config.WithPath("./"),
config.WithFile("compass.yaml"),
config.WithFile("config.yaml"),
config.WithEnvKeyReplacer(".", "_"),
config.WithEnvPrefix("COMPASS"),
)
Expand Down
File renamed without changes.

0 comments on commit 621eda6

Please sign in to comment.