test
This commit is contained in:
parent
c1b0833229
commit
bb43622684
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { FastifyPluginAsync } from 'fastify';
|
|||
const route: FastifyPluginAsync = async (fastify, _opts): Promise<void> => {
|
||||
void _opts;
|
||||
fastify.post(
|
||||
'/api/auth/logout',
|
||||
async function(_req, res) {
|
||||
void _req;
|
||||
return res.clearCookie('token').send('{}');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue