aboutsummaryrefslogtreecommitdiff
path: root/server/config
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-05-29 00:27:36 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-29 00:27:36 +0100
commite158191e74d04c1081687348ed79fcbb61cd9ba5 (patch)
tree8e43ba35f36c2ccfc8e19e3dd84ece46329cc0b1 /server/config
parent11c34d209804eceb988d5a3d1f0331f82032db52 (diff)
Remove unneeded template_dir
Diffstat (limited to 'server/config')
-rw-r--r--server/config/config.go1
-rw-r--r--server/config/config_test.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/server/config/config.go b/server/config/config.go
index 8922ff6..7598f0a 100644
--- a/server/config/config.go
+++ b/server/config/config.go
@@ -20,7 +20,6 @@ type Server struct {
TLSCert string `mapstructure:"tls_cert"`
Port int `mapstructure:"port"`
CookieSecret string `mapstructure:"cookie_secret"`
- TemplateDir string `mapstructure:"template_dir"`
}
// Auth holds the configuration specific to the OAuth provider.
diff --git a/server/config/config_test.go b/server/config/config_test.go
index e528e7d..6baf76d 100644
--- a/server/config/config_test.go
+++ b/server/config/config_test.go
@@ -22,7 +22,6 @@ func TestServerConfig(t *testing.T) {
a.Equal(server.TLSCert, "server.crt")
a.Equal(server.Port, 443)
a.Equal(server.CookieSecret, "supersecret")
- a.Equal(server.TemplateDir, "templates")
}
func TestAuthConfig(t *testing.T) {