Skip to content

Commit

Permalink
Add favicon #125
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Apr 2, 2023
1 parent 19280cd commit e3e7b0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file added web/assets/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,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 {
return nil, err
Expand Down

0 comments on commit e3e7b0f

Please sign in to comment.