diff --git a/src/auth/src/routes/logout.ts b/src/auth/src/routes/logout.ts index 912e602..f2fce67 100644 --- a/src/auth/src/routes/logout.ts +++ b/src/auth/src/routes/logout.ts @@ -3,6 +3,7 @@ import { FastifyPluginAsync } from 'fastify'; const route: FastifyPluginAsync = async (fastify, _opts): Promise => { void _opts; fastify.post( + '/api/auth/logout', async function(_req, res) { void _req; return res.clearCookie('token').send('{}');