diff --git a/config_example.json b/config_example.json index 8903800..f303e90 100644 --- a/config_example.json +++ b/config_example.json @@ -7,7 +7,6 @@ }, "socks": "socks5://127.0.0.1:9050", "mail": "admin@example.com", - "discord": "", "maxfilesize": 104857600, "adminmultiplier": 3.5, "upload_limit": 300, diff --git a/src/inc/routes/index.mjs b/src/inc/routes/index.mjs index b518dff..3714926 100644 --- a/src/inc/routes/index.mjs +++ b/src/inc/routes/index.mjs @@ -382,7 +382,6 @@ export default (router, tpl) => { body: tpl.render('about', { tmp: null, mail: cfg.main.mail, - discord: cfg.main.discord, session: (req.session && req.session.user) ? { ...req.session } : false, page_meta: { title: 'about', diff --git a/src/index.mjs b/src/index.mjs index edfebc8..75f995c 100644 --- a/src/index.mjs +++ b/src/index.mjs @@ -721,7 +721,6 @@ process.on('uncaughtException', err => { domain: cfg.main.url.domain, hide_comments_from_public: cfg.main.hide_comments_from_public, git_hash: typeof gitHash !== 'undefined' ? gitHash : 'unknown', - discord: cfg.main.discord, get motd() { return getMotd(); }, get manual_approval() { return getManualApproval(); }, get min_tags() { return getMinTags(); },