Node.js based forum software built for the modern web
serve nodeinfo/2.0.json as well
Barış Soner Uşaklıa458bdd63824
diff --git a/src/routes/well-known.js b/src/routes/well-known.jsindex f6d59d703e..becd1370f8 100644--- a/src/routes/well-known.js+++ b/src/routes/well-known.js@@ -25,7 +25,7 @@ module.exports = function (app, middleware, controllers) {});});- app.get('/nodeinfo/2.0', async (req, res) => {+ app.get('/nodeinfo/2.0(.json)?', async (req, res) => {const getDaysInMonth = (year, month) => new Date(year, month, 0).getDate();function addMonths(input, months) {