From 8499fb035cb2b0d2cb28bf3a48483761f95c1937 Mon Sep 17 00:00:00 2001 From: horus Date: Wed, 14 Feb 2018 18:32:43 +0100 Subject: Adds URL shorting with polr. (crawler) --- crawler/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawler/config.go') 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") } -- cgit v1.2.3