Update 'server.js'
This commit is contained in:
parent
7954b0bb2b
commit
b053ac4eaa
1 changed files with 6 additions and 2 deletions
|
@ -82,18 +82,22 @@ module.exports = async => {
|
|||
});
|
||||
});
|
||||
|
||||
|
||||
// Socials
|
||||
app.get("/spotify", (req, res) => {
|
||||
res.redirect(con.socials.spotify);
|
||||
});
|
||||
app.get("/twitter", (req, res) => {
|
||||
res.redirect(con.socials.twitter);
|
||||
});
|
||||
app.get("/bandcamp", (req, res) => {
|
||||
app.get(["/bandcamp", "/bc"], (req, res) => {
|
||||
res.redirect(con.socials.bandcamp);
|
||||
});
|
||||
app.get("/soundcloud", (req, res) => {
|
||||
app.get(["/soundcloud", "/sc"], (req, res) => {
|
||||
res.redirect(con.socials.soundcloud);
|
||||
});
|
||||
|
||||
// Music
|
||||
app.get("/overdrive", (req, res) => {
|
||||
res.redirect(con.music.overdrive);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue