Add AntiDrift favicon
This commit is contained in:
@@ -51,6 +51,12 @@ func (s *Server) Router() *gin.Engine {
|
||||
r.GET("/app.js", func(c *gin.Context) {
|
||||
c.FileFromFS("/app.js", http.FS(sub))
|
||||
})
|
||||
r.GET("/favicon.ico", func(c *gin.Context) {
|
||||
c.FileFromFS("/favicon.ico", http.FS(sub))
|
||||
})
|
||||
r.GET("/favicon.png", func(c *gin.Context) {
|
||||
c.FileFromFS("/favicon.png", http.FS(sub))
|
||||
})
|
||||
r.GET("/events", s.handleEvents)
|
||||
r.POST("/planning", s.handlePlanning)
|
||||
r.POST("/coach", s.handleCoach)
|
||||
|
||||
Reference in New Issue
Block a user