diff options
Diffstat (limited to 'api/api.go')
-rw-r--r-- | api/api.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/api.go b/api/api.go index 8203b07a6..3fbb7d0df 100644 --- a/api/api.go +++ b/api/api.go @@ -17,9 +17,10 @@ var ServerTemplates *template.Template type ServerTemplatePage Page func NewServerTemplatePage(templateName string) *ServerTemplatePage { + return &ServerTemplatePage{ TemplateName: templateName, - Props: make(map[string]string), + Props: props := make(map[string]string), ClientProps: utils.ClientProperties, } } |