chore: add monitor api route
This commit is contained in:
parent
bd67ac3517
commit
bc915a53dc
9
src/app/api/ping/route.ts
Normal file
9
src/app/api/ping/route.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { NextResponse } from 'next/server';
|
||||
|
||||
/**
|
||||
* It is used to check if the server is running.
|
||||
* You can use tools like Uptime Kuma to monitor this endpoint.
|
||||
*/
|
||||
export async function GET() {
|
||||
return NextResponse.json({ message: 'pong' });
|
||||
}
|
Loading…
Reference in New Issue
Block a user