Adding a communication channel between server and clients using SSE

This commit is contained in:
Deluan
2020-11-08 00:06:48 -05:00
parent 3fc81638c7
commit 2b1a5f579a
15 changed files with 395 additions and 25 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const url = (command, id, options) => {
params.append('f', 'json')
params.append('v', '1.8.0')
params.append('c', 'NavidromeUI')
params.append('id', id)
id && params.append('id', id)
if (options) {
if (options.ts) {
options['_'] = new Date().getTime()