Basic browser extension support

This commit is contained in:
2017-06-24 21:07:45 +02:00
parent 932ed7c165
commit 7e92409758
10 changed files with 75 additions and 6 deletions

View File

@ -16,5 +16,5 @@ func Get(ctx *aero.Context) string {
return ctx.Error(http.StatusForbidden, "Not logged in", nil)
}
return ctx.HTML(components.Settings(user))
return utils.AllowEmbed(ctx, ctx.HTML(components.Settings(user)))
}