new-personal-site/pages/api/coderank-code-server-auth.ts
Benjamin Toby 4776018c3c Updates
2025-01-05 07:59:10 +01:00

14 lines
309 B
TypeScript

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