mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
13 lines
396 B
TypeScript
13 lines
396 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
import type { NextApiRequest, NextApiResponse } from 'next'
|
|
|
|
const handler = (req: NextApiRequest, res: NextApiResponse) => {
|
|
res.setHeader('Set-Cookie', 'mock-session=0; Path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT').status(200).json({})
|
|
}
|
|
|
|
export default handler
|