This commit is contained in:
neko 2025-07-05 12:44:41 +09:00
commit 31905fb5ac

View file

@ -28,7 +28,12 @@ app.post("/token", async (req, res) => {
});
app.get("/callback", (req, res) => {
res.sendFile(path.join(__dirname, "callback/callback.html"));
// Get Hash
const hash = req.query.hash;
console.log("Hash:", hash);
// return json
res.json({ hash });
});
const PORT = 3000;