pollo/app/api/external/public/ping/route.ts
2023-11-17 00:39:00 -07:00

10 lines
205 B
TypeScript

import { NextResponse } from "next/server";
function handler() {
return NextResponse.json(
{ message: "Public Pong!" },
{ status: 200, statusText: "SUCCESS" }
);
}
export { handler as GET };