mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
perf: call getIconbackgrounds once
instead of 20x on topic/topic list load
This commit is contained in:
@@ -88,7 +88,6 @@ apiController.loadConfig = async function (req) {
|
||||
thumbs: {
|
||||
size: meta.config.topicThumbSize,
|
||||
},
|
||||
iconBackgrounds: await user.getIconBackgrounds(req.uid),
|
||||
emailPrompt: meta.config.emailPrompt,
|
||||
useragent: req.useragent,
|
||||
fontawesome: {
|
||||
|
||||
Reference in New Issue
Block a user