From edba4d447a47de0a5f287b350dbc75e86934fc3f Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 10 Aug 2015 19:08:11 +0100 Subject: [PATCH] Put quotation marks around WebAddress string in config.gcfg --- config.gcfg | 2 +- parseconfig.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.gcfg b/config.gcfg index 0e1e47a..b88e838 100644 --- a/config.gcfg +++ b/config.gcfg @@ -68,7 +68,7 @@ WebPort: 9563 # Web address to provide links for # DEFAULT VALUE: http://{{IP}}:{{PORT}}/ -WebAddress: http://{{IP}}:{{PORT}}/ +WebAddress: "http://{{IP}}:{{PORT}}/" # Can users have their own web page # DEFAULT VALUE: false diff --git a/parseconfig.go b/parseconfig.go index fcb80f6..e308548 100644 --- a/parseconfig.go +++ b/parseconfig.go @@ -34,9 +34,9 @@ type DjConfig struct { HighestVolume float32 } Web struct { - WebBrowser bool - WebPort int - WebAddress string + WebBrowser bool + WebPort int + WebAddress string CustomWebPage bool } Aliases struct {