Add favicon #125

This commit is contained in:
Alireza Ahmadi
2023-04-02 15:01:56 +02:00
parent 19280cdfbd
commit e3e7b0f736
2 changed files with 3 additions and 0 deletions

BIN
web/assets/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -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