Add favicon

This commit is contained in:
cuigh 2018-04-12 15:09:27 +08:00
parent 2a2af5a4f8
commit 86cbfdecb7
2 changed files with 1 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

View File

@ -83,6 +83,7 @@ func server(setting *model.Setting) *web.Server {
ws.Use(filter.NewRecover()) ws.Use(filter.NewRecover())
// register static handlers // register static handlers
ws.File("/favicon.ico", filepath.Join(filepath.Dir(app.Path()), "assets/swirl/img/favicon.ico"))
ws.Static("/assets", filepath.Join(filepath.Dir(app.Path()), "assets")) ws.Static("/assets", filepath.Join(filepath.Dir(app.Path()), "assets"))
// create biz group // create biz group