This commit is contained in:
amy 2024-12-03 18:48:31 +03:30
parent b230d56dab
commit 9eef403050
Signed by: amy
SSH key fingerprint: SHA256:Y6VEv6ZOxI6zqjjOF4luhfaCoY+zDK0w62P+qhQYie4

View file

@ -118,7 +118,8 @@ fastify.get('/login/callback', async function (request, reply) {
path: '/',
maxAge: 31_622_400,
});
return reply.send({access_token: refreshToken.access_token});
reply.send({access_token: refreshToken.access_token});
return reply.redirect("https://tappo.mono.exhq.dev")
});
for (const file of fs.readdirSync(path.resolve(__dirname, "endpoints"))) {