Skip to content

Commit

Permalink
healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
marjakari committed Jan 24, 2024
1 parent 7c2b654 commit f4ee2b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions viestinvalitys-raportointi/src/app/api/health/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import {NextRequest, NextResponse} from "next/server";

export async function GET (){
const greeting = "Hello!"
const json = {
greeting
};

return NextResponse.json(json);
}

0 comments on commit f4ee2b6

Please sign in to comment.