Tweaks
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user