mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-28 03:25:42 -05:00
fix: exit server on SIGTERM
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
process.title = 'Pretendo - Website';
|
||||
process.on('SIGTERM', () => {
|
||||
process.exit(0);
|
||||
});
|
||||
|
||||
const express = require('express');
|
||||
const handlebars = require('express-handlebars');
|
||||
|
||||
Reference in New Issue
Block a user