feat: add sigil templating to CHECKS files

This enables general templating capabilities, in addition to environment variable access.

Closes #3974.
This commit is contained in:
Jose Diaz-Gonzalez
2020-12-30 05:48:29 -05:00
parent d21aca2c59
commit 07e7988cdf
5 changed files with 72 additions and 0 deletions

View File

@@ -6,6 +6,10 @@ app.get('/', function(request, response) {
response.send('nodejs/express');
});
app.get('/healthcheck', function(request, response) {
response.send(process.env.HEALTHCHECK_ENDPOINT);
});
var port = process.env.PORT || 5000;
app.listen(port, function() {
console.log("Listening on " + port);