log the request to see what we can use in lightsail to lock it down
This commit is contained in:
parent
a1bbca84ca
commit
739cc7a916
1 changed files with 2 additions and 0 deletions
|
|
@ -39,8 +39,10 @@ function safeShutdownGuard(req, res, next) {
|
||||||
// express
|
// express
|
||||||
app.use(safeShutdownGuard);
|
app.use(safeShutdownGuard);
|
||||||
app.use(session);
|
app.use(session);
|
||||||
|
|
||||||
//just respond with success for healthchecker no matter what the ip addess is
|
//just respond with success for healthchecker no matter what the ip addess is
|
||||||
app.get('/status', function (req, res) {
|
app.get('/status', function (req, res) {
|
||||||
|
console.log(req);
|
||||||
res.status(200).send('success');
|
res.status(200).send('success');
|
||||||
});
|
});
|
||||||
//restrict access to anything else via ip addresses
|
//restrict access to anything else via ip addresses
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue