diff options
author | 2017-11-21 18:30:16 -0800 | |
---|---|---|
committer | 2017-11-21 18:30:16 -0800 | |
commit | 02ff7b4bcf2b2c691e55ae61fe97bfd9ae37658e (patch) | |
tree | 236d95c147453fcdeacd92cdc17fd886d664c1b0 /server/ui/controller/static.go | |
parent | 25cbd657771a67ef41abac4089a231369b96276e (diff) | |
download | v2-02ff7b4bcf2b2c691e55ae61fe97bfd9ae37658e.tar.gz v2-02ff7b4bcf2b2c691e55ae61fe97bfd9ae37658e.tar.zst v2-02ff7b4bcf2b2c691e55ae61fe97bfd9ae37658e.zip |
Improve Response to be more idiomatic
Diffstat (limited to 'server/ui/controller/static.go')
-rw-r--r-- | server/ui/controller/static.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ui/controller/static.go b/server/ui/controller/static.go index a8513501..822118a3 100644 --- a/server/ui/controller/static.go +++ b/server/ui/controller/static.go @@ -33,7 +33,7 @@ func (c *Controller) Favicon(ctx *core.Context, request *core.Request, response blob, err := base64.StdEncoding.DecodeString(static.Binaries["favicon.ico"]) if err != nil { log.Println(err) - response.Html().NotFound() + response.HTML().NotFound() return } |