Add AntiDrift favicon

This commit is contained in:
2026-06-01 19:09:37 -04:00
parent 895ad342c7
commit d95aed0111
5 changed files with 10 additions and 0 deletions
+6
View File
@@ -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)