Skip to content

Instantly share code, notes, and snippets.

@tcaer
Last active April 14, 2020 04:21
Show Gist options
  • Save tcaer/068bccb9f9d45e85cd7f0d7600fb9d7e to your computer and use it in GitHub Desktop.
Save tcaer/068bccb9f9d45e85cd7f0d7600fb9d7e to your computer and use it in GitHub Desktop.
Shows the login route
const DISCORD_SIGNIN_LINK = process.env.DISCORD_SIGNIN_LINK;
app.get('/login', function(req, res) {
res.redirect(DISCORD_SIGNIN_LINK);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment