Skip to content

Commit 54d79c8

Browse files
committed
fix: add version prefix to health monitoring endpoint
A version prefix is now required on the monitoring endpoint, so that both versions of the api can be monitored separately behind the nginx reverse proxy.
1 parent cff3af2 commit 54d79c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/MonitoringController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Route, Get, Response } from "tsoa";
22

3-
@Route("monitoring")
3+
@Route("v1/monitoring")
44
export class MonitoringController {
55
@Get("/health")
66
@Response(200, "OK")

0 commit comments

Comments
 (0)