refactor: remove discover page

This commit is contained in:
2026-06-13 17:04:01 +02:00
parent 9b7a2cac8f
commit 70a6e9a6b5
6 changed files with 9 additions and 13 deletions

View File

@@ -316,11 +316,7 @@ func (h *AnimeHandler) renderCatalogSection(c *gin.Context, section string) {
}
func (h *AnimeHandler) HandleDiscover(c *gin.Context) {
user := server.CurrentUser(c)
c.HTML(http.StatusOK, "discover.gohtml", gin.H{
"CurrentPath": "/discover",
"User": user,
})
c.Redirect(http.StatusSeeOther, "/")
}
func (h *AnimeHandler) HandleDiscoverTopPicksForYou(c *gin.Context) {