Added cover image support for the beta

This commit is contained in:
2016-11-20 19:26:11 +09:00
parent c89add3967
commit 614ff87246
16 changed files with 316 additions and 23 deletions

View File

@ -12,7 +12,7 @@ func Get(ctx *aero.Context) string {
anime, err := arn.GetAnime(id)
if err != nil {
return ctx.Text("Anime not found")
return ctx.Error(404, "Anime not found")
}
return ctx.HTML(components.Anime(anime))