pollo/app/api/external/public/ping/route.ts

11 lines
205 B
TypeScript
Raw Normal View History

2023-08-17 20:55:56 -06:00
import { NextResponse } from "next/server";
function handler() {
2023-08-17 20:55:56 -06:00
return NextResponse.json(
{ message: "Public Pong!" },
{ status: 200, statusText: "SUCCESS" }
);
}
export { handler as GET };