After successfull login send new file to the client

This commit is contained in:
Thanos Theodosiou
2021-09-05 15:20:36 +03:00
parent bd2e4981f4
commit b2faaa75b1
+1 -1
View File
@@ -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");
});