mirror of
https://github.com/zadam/trilium.git
synced 2025-03-11 14:33:29 +08:00
commit
373ec4ac50
1 changed files with 5 additions and 0 deletions
5
src/www
5
src/www
|
@ -8,6 +8,11 @@ process.on('unhandledRejection', error => {
|
|||
require('./services/log').info(error);
|
||||
});
|
||||
|
||||
process.on('SIGINT', function() {
|
||||
console.log("Caught interrupt signal. Exiting.");
|
||||
process.exit();
|
||||
});
|
||||
|
||||
const { app, sessionParser } = require('./app');
|
||||
const debug = require('debug')('node:server');
|
||||
const fs = require('fs');
|
||||
|
|
Loading…
Reference in a new issue