Tweaks
This commit is contained in:
1 parent
643e071202
commit
9a4eddcbd1
10 files changed
+37
-29
No files matched your search
@@ -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