remote control: add /RELOAD command

This commit is contained in:
jean-emmanuel 2022-02-26 08:49:08 +01:00
parent 97fccdc7f5
commit 0e22ca0589
2 changed files with 12 additions and 0 deletions

View file

@ -291,6 +291,11 @@ var callbacks = {
uiConsole.script.run({input_code: args[0]}, {sync: true, send: true})
},
'/RELOAD': function(args) {
window.location.href = window.location.href
}
}