Page MenuHomePhabricator

D12558.id41663.diff
No OneTemporary

D12558.id41663.diff

diff --git a/keyserver/src/keyserver.js b/keyserver/src/keyserver.js
--- a/keyserver/src/keyserver.js
+++ b/keyserver/src/keyserver.js
@@ -159,6 +159,10 @@
server.use(express.json({ limit: '250mb' }));
server.use(cookieParser());
+ server.get('/health', (req: $Request, res: $Response) => {
+ res.send('OK');
+ });
+
// Note - the order of router declarations matters. On prod we have
// keyserverBaseRoutePath configured to '/', which means it's a catch-all.
// If we call server.use on keyserverRouter first, it will catch all

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 29, 10:56 PM (5 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2598501
Default Alt Text
D12558.id41663.diff (568 B)

Event Timeline