Support a custom emoji override directory. Closes #1967

This commit is contained in:
Gabe Kangas
2022-06-25 23:06:31 -07:00
parent bb1c934c4b
commit 97db93e0d7
3 changed files with 26 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ func Start() error {
http.HandleFunc("/logo", controllers.GetLogo)
// Return a single emoji image.
http.HandleFunc("/img/emoji/", middleware.RequireAdminAuth(controllers.GetCustomEmojiImage))
http.HandleFunc("/img/emoji/", controllers.GetCustomEmojiImage)
// return the logo