removing discord reference

This commit is contained in:
2026-05-04 23:03:03 +02:00
parent 4e0717465b
commit d29a0dacc0
3 changed files with 0 additions and 3 deletions

View File

@@ -7,7 +7,6 @@
}, },
"socks": "socks5://127.0.0.1:9050", "socks": "socks5://127.0.0.1:9050",
"mail": "admin@example.com", "mail": "admin@example.com",
"discord": "",
"maxfilesize": 104857600, "maxfilesize": 104857600,
"adminmultiplier": 3.5, "adminmultiplier": 3.5,
"upload_limit": 300, "upload_limit": 300,

View File

@@ -382,7 +382,6 @@ export default (router, tpl) => {
body: tpl.render('about', { body: tpl.render('about', {
tmp: null, tmp: null,
mail: cfg.main.mail, mail: cfg.main.mail,
discord: cfg.main.discord,
session: (req.session && req.session.user) ? { ...req.session } : false, session: (req.session && req.session.user) ? { ...req.session } : false,
page_meta: { page_meta: {
title: 'about', title: 'about',

View File

@@ -721,7 +721,6 @@ process.on('uncaughtException', err => {
domain: cfg.main.url.domain, domain: cfg.main.url.domain,
hide_comments_from_public: cfg.main.hide_comments_from_public, hide_comments_from_public: cfg.main.hide_comments_from_public,
git_hash: typeof gitHash !== 'undefined' ? gitHash : 'unknown', git_hash: typeof gitHash !== 'undefined' ? gitHash : 'unknown',
discord: cfg.main.discord,
get motd() { return getMotd(); }, get motd() { return getMotd(); },
get manual_approval() { return getManualApproval(); }, get manual_approval() { return getManualApproval(); },
get min_tags() { return getMinTags(); }, get min_tags() { return getMinTags(); },