about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--searchix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchix.go b/searchix.go
index 9cdd67d..ce1f5e1 100644
--- a/searchix.go
+++ b/searchix.go
@@ -119,8 +119,8 @@ func main() {
 		sErr <- sv.Start()
 	}()
 
-	if conf.Web.Environment == "development" {
-		log.Printf("server listening on %s", conf.Web.BaseURL.String())
+	if cfg.Web.Environment == "development" {
+		log.Printf("server listening on %s", cfg.Web.BaseURL.String())
 	}
 
 	err = <-sErr