Merge pull request #81 from guillaumearnx/patch-1

Add log when started in index.js
This commit is contained in:
Tanner 2021-06-16 12:27:15 -07:00 committed by GitHub
commit 2ec6d7e1eb
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..');