new-personal-site/pages/api/coderank-code-server-auth.ts
Benjamin Toby 5587024789 Updates
2025-01-05 07:25:38 +01:00

13 lines
257 B
TypeScript

import type { NextApiRequest, NextApiResponse } from "next";
type Data = {
msg: string;
};
export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>
) {
res.status(200).json({ msg: "Authentication Successful!" });
}