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