mirror of
https://github.com/cuigh/swirl
synced 2025-01-31 06:47:11 +00:00
Add favicon
This commit is contained in:
parent
2a2af5a4f8
commit
86cbfdecb7
BIN
assets/swirl/img/favicon.ico
Normal file
BIN
assets/swirl/img/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 111 KiB |
1
main.go
1
main.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user