mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🔨」 fix: getting from env instead
This commit is contained in:
@ -45,7 +45,7 @@ export async function gLogCallback(request, reply, fastify) {
|
||||
path: '/',
|
||||
secure: env !== 'development',
|
||||
sameSite: 'lax',
|
||||
}).redirect('/');
|
||||
}).redirect(process.env.CALLBACK_REDIR);
|
||||
} catch (error) {
|
||||
fastify.log.error(error);
|
||||
reply.code(500).send({ error: 'Internal server error' });
|
||||
|
||||
@ -54,7 +54,7 @@ export async function gRegisterCallback(request, reply, fastify) {
|
||||
path: '/',
|
||||
secure: env !== 'development',
|
||||
sameSite: 'lax',
|
||||
}).redirect('/');
|
||||
}).redirect(process.env.CALLBACK_REDIR);
|
||||
} catch (error) {
|
||||
fastify.log.error(error);
|
||||
reply.code(500).send({ error: 'Internal server error' });
|
||||
|
||||
Reference in New Issue
Block a user