Skip to content

Commit 96b430a

Browse files
authored
Merge pull request #153 from coolwednesday/add/count-gofr-srv
Add endpoint for running Gofr Metrics
2 parents 29603a7 + 9633f5f commit 96b430a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/app/api/ping/down/route.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { NextResponse } from "next/server";
2+
3+
export async function POST() {
4+
return NextResponse.json({ message: "Ping Down - Server Shutdown" });
5+
}

src/app/api/ping/up/route.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { NextResponse } from "next/server";
2+
3+
export async function POST() {
4+
return NextResponse.json({ message: "Ping Up - Server Started" });
5+
}

0 commit comments

Comments
 (0)