Node.js based forum software built for the modern web
fix: alpha sort instances
Julian Lam684f03db0891
diff --git a/src/controllers/admin/federation.js b/src/controllers/admin/federation.jsindex 47bd8e9e3a..edb64de4c0 100644--- a/src/controllers/admin/federation.js+++ b/src/controllers/admin/federation.js@@ -56,6 +56,8 @@ federationController.safety = async function (req, res) {federationController.analytics = async function (req, res) {const instances = await activitypub.instances.list();+ instances.sort();+let { host, term } = req.query;if (!instances.includes(host)) {host = undefined;