Don't depend on notification server to run. stinky

This commit is contained in:
MeowcaTheoRange 2024-02-22 06:07:56 -06:00
parent 4b6d192a93
commit 6232258ce6

View file

@ -284,6 +284,8 @@ const socket = io.connect(`http://${process.env.NOTIFICATION_SERVER_INSTANCE}:${
socket.on('connect', function (s) {
console.log('Successfully connected to notification server');
});
try {
main();
} catch (err) {
@ -293,7 +295,6 @@ socket.on('connect', function (s) {
})
throw err;
}
});
function dismantle() {
socket.disconnect();