aboutsummaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-05-22 20:46:09 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-22 20:51:47 +0100
commite00e2820e7d460b464965422aab284c6d3b56c70 (patch)
treed2ed189f2ddd2ec8f1d177b3451ec089bc9e0a9f /testdata
parent7230bf7945ace2fd974b2585065dc9aad95a3ef5 (diff)
Make template directory configurable
Diffstat (limited to 'testdata')
-rw-r--r--testdata/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/testdata/config.go b/testdata/config.go
index bb2f511..a64ebd5 100644
--- a/testdata/config.go
+++ b/testdata/config.go
@@ -6,7 +6,8 @@ var ServerConfig = []byte(`{
"tls_key": "server.key",
"tls_cert": "server.crt",
"port": 443,
- "cookie_secret": "supersecret"
+ "cookie_secret": "supersecret",
+ "template_dir": "templates"
}
}`)