Skip to content

Commit

Permalink
cache favicons for one year (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewhammond authored Nov 3, 2023
1 parent af1c003 commit 81e8a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/ui/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (s *Service) RegisterRoutes() {
router.GET("/policy-groups/:name", s.getPolicyGroup)

router.GET("/assets/*", ViteHandler(), CacheControlMiddleware)
router.GET("/favicons/*", ViteHandler())
router.GET("/favicons/*", ViteHandler(), CacheControlMiddleware)
}
}

Expand Down

0 comments on commit 81e8a64

Please sign in to comment.