This commit is contained in:
milo
2026-02-15 12:34:39 +01:00
parent a8fac1cb19
commit d53e43f9c4

View File

@@ -34,9 +34,6 @@ router.get("/discord", (req, res) => {
* creates a JWT, and redirects the user back to the frontend.
*/
router.get("/discord/callback", async (req, res) => {
console.log("JWT_SECRET:", process.env.JWT_SECRET)
console.log("DISCORD_CLIENT_SECRET:", process.env.DISCORD_CLIENT_SECRET)
const { code } = req.query;
if (!code) {
return res.status(400).json({ error: "Missing authorization code." });