Merge pull request #170 from trouble/gh-actions

GitHub Actions
This commit is contained in:
Elliot DeNolf
2020-04-15 01:00:25 -04:00
committed by GitHub
5 changed files with 63 additions and 38 deletions

View File

@@ -0,0 +1,9 @@
function registerTestingEndpoints() {
this.router.post('/killkillkill', (req, res) => {
console.log('Gracefully killing server...');
res.json({ message: 'Shutting down server.' });
process.exit(0);
});
}
module.exports = registerTestingEndpoints;