Merge pull request #81 from guillaumearnx/patch-1
Add log when started in index.js
This commit is contained in:
commit
2ec6d7e1eb
|
@ -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..');
|
||||
|
|
Loading…
Reference in New Issue