From bf4dc9ee5d529cbe56c94b066c38ce05d787d748 Mon Sep 17 00:00:00 2001 From: delvedor Date: Wed, 1 Nov 2017 10:56:27 +0100 Subject: [PATCH] Updated README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 5990cad..129da89 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,10 @@ This plugin also exposes a function that will tell you the current values of `he ```js console.log(fastify.memoryUsage()) ``` + +#### Status route +If needed you can pass `{ exposeStatusRoute: true }` and `under-pressure` will expose a `/status` route for you that sends back a `{ status: 'ok' }` object. This can be useful if you need to attach the server to an ELB on AWS for example. + ## Acknowledgements