diff --git a/configs/main.js.example b/configs/main.js.example index 236458f0..339235ea 100644 --- a/configs/main.js.example +++ b/configs/main.js.example @@ -41,6 +41,9 @@ module.exports = { //prune modlogs older than 30 days. pruning occurs when new modlog entries are generated pruneModlogs: true, + //enable the webring (also copy configs/webring.json.example -> configs/webring.json and edit) + enableWebring: false, + //let all users create new boards enableUserBoards: true, diff --git a/configs/webring.json.example b/configs/webring.json.example index 843a10a6..5e30a0cf 100644 --- a/configs/webring.json.example +++ b/configs/webring.json.example @@ -5,7 +5,7 @@ "blacklist": [ "badwebsite.com", ], - "logos": [ + "logo": [ "https://yourdomain.com/favicon.ico" ] } diff --git a/schedules/webring.js b/schedules/webring.js index 48a0654f..62d15152 100644 --- a/schedules/webring.js +++ b/schedules/webring.js @@ -2,7 +2,7 @@ const fetch = require('node-fetch') , { meta } = require(__dirname+'/../configs/main.js') - , { logos, following, blacklist } = require(__dirname+'/../configs/webring.json') + , { logo, following, blacklist } = require(__dirname+'/../configs/webring.json') , { Boards, Webring } = require(__dirname+'/../db/') , { outputFile } = require('fs-extra') , cache = require(__dirname+'/../redis.js') @@ -63,7 +63,7 @@ module.exports = async () => { name: meta.siteName, url: meta.url, endpoint: `${meta.url}/webring.json`, - logos, + logo, following, blacklist, known,