Skip to content

Commit

Permalink
fix: default config file location
Browse files Browse the repository at this point in the history
  • Loading branch information
dlford committed Jan 27, 2023
1 parent 19cae5f commit 048d68f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/release.yml

This file was deleted.

3 changes: 1 addition & 2 deletions config/Load.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ func (c *Config) Load() *Config {
path = os.Args[1]
}
if path == "" {
// TODO: Change to /etc/blocklister.yml
path = "blocklister.yml"
path = "/etc/blocklister.yml"
}

yamlFile, err := ioutil.ReadFile(path)
Expand Down

0 comments on commit 048d68f

Please sign in to comment.