Update index.js

This commit is contained in:
Guillaume ARNOUX 2021-06-07 10:17:25 +02:00 committed by GitHub
parent ced727d166
commit 371a5f5899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ async function loadConfig() {
loadConfig().then(() => {
/** Starting server using the selected config file */
server = new ShareXAPI(c);
//Add log instruction
console.log("ShareX stared ..")
});
process.on('SIGINT', async () => {
server.log.warning('Gracefully exiting..');