diff --git a/public/health.js b/public/health.js new file mode 100644 index 00000000..61a4202b --- /dev/null +++ b/public/health.js @@ -0,0 +1,9 @@ +import http from "http" + +http + .createServer((req, res) => + res + .writeHead(200, { "Content-Type": "application/json" }) + .end(JSON.stringify(process.env.NODE_ENV)), + ) + .listen()