mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 02:18:09 +03:00
After successfull login send new file to the client
This commit is contained in:
@@ -106,7 +106,7 @@ app.get("/oauth/callback", async (req, res) => {
|
||||
// @todo Store discordID & apiToken somewhere.
|
||||
|
||||
// @todo Make this prettier - maybe just serve a HTML file back.
|
||||
return res.send("Successfully linked your discord account!");
|
||||
return res.sendFile("../pages/account-linked.html");
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user