This commit is contained in:
2017-12-17 23:34:49 +01:00
parent 643e071202
commit 9a4eddcbd1
10 changed files with 37 additions and 29 deletions

View File

@@ -10,6 +10,7 @@ import (
var funcMap = template.FuncMap{
"bgPatternCount": bgPatternCount,
"debugMode": debugMode,
"apiUrl": apiURL,
}
func bgPatternCount() uint8 {
@@ -19,3 +20,7 @@ func bgPatternCount() uint8 {
func debugMode() bool {
return conf.DebugMode()
}
func apiURL() string {
return conf.ApiUrlExternal()
}