redir
This commit is contained in:
parent
b230d56dab
commit
9eef403050
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ fastify.get('/login/callback', async function (request, reply) {
|
||||||
path: '/',
|
path: '/',
|
||||||
maxAge: 31_622_400,
|
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"))) {
|
for (const file of fs.readdirSync(path.resolve(__dirname, "endpoints"))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue