Add favicon
This commit is contained in:
1 parent
7c980343f1
commit
472694a611
2 files changed
+3
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -156,6 +156,9 @@ func (s *Server) initRouter() (*gin.Engine, error) {
|
||||
}
|
||||
|
||||
engine := gin.Default()
|
||||
|
||||
// Add favicon
|
||||
engine.StaticFile("/favicon.ico", "web/assets/favicon.ico")
|
||||
|
||||
secret, err := s.settingService.GetSecret()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user