Skip to content

Commit

Permalink
server save new data after change detected
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianMairinger authored Jan 16, 2024
1 parent 1c24f63 commit 8dccf49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ setup("lbAnmeldung").then(async ({app, db}) => {
if (lastTxt !== newTxt) {
addLineToFile(newTxt)
sendMsgToClients("Change detected")
lastTxt = newTxt
}
}
catch(e) {
Expand Down

0 comments on commit 8dccf49

Please sign in to comment.