mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
refactor: migrate to new config (resolve #54)
This commit is contained in:
@@ -25,7 +25,7 @@ func loadTemplates() {
|
||||
"title": strings.Title,
|
||||
"capitalize": utils.Capitalize,
|
||||
"getBasePath": func() string {
|
||||
return config.Get().BasePath
|
||||
return config.Get().Server.BasePath
|
||||
},
|
||||
"getVersion": func() string {
|
||||
return config.Get().Version
|
||||
|
Reference in New Issue
Block a user