From 55ba1b98f1ba8aaa461b2bc06a3432548364d3bf Mon Sep 17 00:00:00 2001 From: Max Harley Date: Mon, 16 Aug 2021 20:49:18 +0000 Subject: [PATCH] Change config path --- README.md | 2 +- config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d937e01..2d64f21 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/config.go b/config.go index 7b030b8..16b422d 100644 --- a/config.go +++ b/config.go @@ -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 {