summaryrefslogtreecommitdiff
path: root/crawler/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/config.go')
-rw-r--r--crawler/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawler/config.go b/crawler/config.go
index af02a6c..552d57a 100644
--- a/crawler/config.go
+++ b/crawler/config.go
@@ -75,4 +75,6 @@ func (c *Config) setsConfig() {
c.DBOptions = viper.GetString("DB_Options")
c.DBPath = viper.GetString("DB_Path")
c.Debug = viper.GetBool("Debug")
+ c.Polr_URL = viper.GetString("Polr_URL")
+ c.Polr_API_Key = viper.GetString("Polr_API_Key")
}