diff --git a/samples/nextjs/compose.yaml b/samples/nextjs/compose.yaml index 28261b13..7ee4922f 100644 --- a/samples/nextjs/compose.yaml +++ b/samples/nextjs/compose.yaml @@ -12,10 +12,10 @@ services: published: 3000 healthcheck: - test: wget -q --spider http://localhost:3000/api/health || exit 1 + test: wget -q --spider http://localhost:3000/ || exit 1 deploy: resources: reservations: cpus: '0.50' - memory: 512M \ No newline at end of file + memory: 512M diff --git a/samples/nextjs/web/src/app/api/health/route.ts b/samples/nextjs/web/src/app/api/health/route.ts deleted file mode 100644 index e90bcaea..00000000 --- a/samples/nextjs/web/src/app/api/health/route.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { NextResponse } from 'next/server'; - -export async function GET() { - return NextResponse.json({ msg: 'Success!' }); -} \ No newline at end of file