Merge pull request #77 from cassoule/milo-260209

hm2
This commit is contained in:
Milo Gourvest
2026-02-15 12:36:27 +01:00
committed by GitHub

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." });