mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 07:25:49 +02:00
Fix infinite redirect by removing server route for email verification
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
@@ -238,10 +238,7 @@ export class ServerService implements OnApplicationShutdown {
|
||||
}
|
||||
});
|
||||
|
||||
fastify.get<{ Params: { code: string } }>('/verify-email/:code', async (request, reply) => {
|
||||
// Redirect to frontend page for verification
|
||||
reply.redirect(`/verify-email/${request.params.code}`);
|
||||
});
|
||||
// Email verification is now handled by frontend route /verify-email/:code
|
||||
|
||||
fastify.register(this.clientServerService.createServer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user