Skip to content

Commit

Permalink
Change config path
Browse files Browse the repository at this point in the history
  • Loading branch information
t94j0 committed Aug 16, 2021
1 parent 48fc0ef commit 55ba1b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ go build -o phishbot

## Configuration

The configuration path is `/etc/gophish_slack/config.yml`. Below is an example config:
The configuration path is `/etc/gophish_notifier/config.yml`. Below is an example config:

```yaml
# Host to listen on. If GoPhish is running on the same host, you can set this to 127.0.0.1
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ User Agent - {{ .UserAgent }}`
func init() {
viper.SetConfigName("config")
viper.SetConfigType("yaml")
viper.AddConfigPath("/etc/gophish_slack")
viper.AddConfigPath("/etc/gophish_notifier")
viper.AddConfigPath(".")
setDefaults()
if err := viper.ReadInConfig(); err != nil {
Expand Down

0 comments on commit 55ba1b9

Please sign in to comment.