diff --git a/config/config.toml b/config/config.toml new file mode 100644 index 0000000..e69de29 diff --git a/internal/config/config.go b/internal/config/config.go index 7d5a563..fbaa2b1 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -2,13 +2,14 @@ package config import ( "errors" - "git.rouggy.com/rouggy/RaceBot/internal/domain" "log" "os" "path" "path/filepath" "text/template" + "git.rouggy.com/rouggy/RaceBot/internal/domain" + "github.com/spf13/viper" ) @@ -75,7 +76,7 @@ func (c *AppConfig) defaults() { Host: "127.0.0.1", Port: "3000", TMDbApiKey: "", - DbName: "racer.db", + DbName: "racer", UploadFolder: "/home/rouggy/torrents/rtorrent/Race", } }