short social links

This commit is contained in:
monty 2019-12-21 14:31:14 +01:00
parent 101f4766c1
commit 30a785ad73
2 changed files with 24 additions and 2 deletions

View File

@ -38,9 +38,15 @@ let refunds = {
'If you make a commission with me, and completely go off the grid for 2 or more weeks or your account is completely suspended and you do not make an attempt to contact me on any other social media, etc. your commission will be cancelled with no refund.'
]
};
module.exports = {
name: 'yugen',
updateToken: 'qwertzuiop1234567890',
tos: [ payment, turnaround, refunds, other ]
tos: [ payment, turnaround, refunds, other ],
socials: {
twitter: 'https://twitter.com/CorgiYugy',
instagram: 'https://instagram.com/CorgiYugy',
patreon: 'https://patreon.com/CorgiYugy',
kofi: 'https://ko-fi.com/CorgiYugy',
trello: 'https://trello.com/b/PTh1X2bw/yugen-the-corgi-commisions'
}
};

View File

@ -93,6 +93,22 @@ module.exports = (client) => {
});
});
app.get('/twitter', (req, res) => {
res.redirect(con.socials.twitter);
});
app.get('/trello', (req, res) => {
res.redirect(con.socials.trello);
});
app.get('/instagram', (req, res) => {
res.redirect(con.socials.instagram);
});
app.get('/patreon', (req, res) => {
res.redirect(con.socials.patreon);
});
app.get('/kofi', (req, res) => {
res.redirect(con.socials.kofi);
});
app.listen(port /* , hostname */, () => {
console.log(`[ Server ] Listening on ${port}`);
});