new-personal-site/pages/api/coderank-code-server-auth.ts

13 lines
257 B
TypeScript
Raw Normal View History

2025-01-05 06:25:38 +00:00
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!" });
}