Enable autohouse upload again.

This commit is contained in:
Patrick Fic
2022-01-13 13:42:54 -08:00
parent 7ee544b013
commit 002301c792
3 changed files with 48 additions and 17 deletions

View File

@@ -68,6 +68,10 @@ app.get("/test", async function (req, res) {
"git rev-parse --short HEAD"
);
logger.log("test-api-status", "DEBUG", "api", { commit });
sendEmail.sendServerEmail({
subject: `API Check - ${process.env.NODE_ENV}`,
text: `Server API check has come in. `,
});
res.status(200).send(`OK - ${commit}`);
});