server: clean callback module a bit

custom-module: allow extra options arg in receive() to choose the client
This commit is contained in:
bordun 2020-03-30 17:43:25 +02:00
parent b86d232518
commit 4e6680f5a8
4 changed files with 47 additions and 34 deletions

View file

@ -26,7 +26,7 @@ document.addEventListener('DOMContentLoaded', function(event) {
document.title = TITLE
ipc.send('ready', {hotReload: backup.exists})
ipc.send('open', {hotReload: backup.exists})
backup.load()