diff --git a/tvapp2/index.js b/tvapp2/index.js index ca807a0c..29bd324a 100755 --- a/tvapp2/index.js +++ b/tvapp2/index.js @@ -118,6 +118,7 @@ const subdomainEPG = [ 'guide', 'epg', 'xml' ]; const subdomainKey = [ 'key', 'keys' ]; const subdomainChan = [ 'channels', 'channel', 'chan' ]; const subdomainHealth = [ 'api/status', 'api/health' ]; +const subdomainRestart = [ 'api/restart', 'api/sync', 'api/resync' ]; /* Container Information diff --git a/tvapp2/www/index.html b/tvapp2/www/index.html index 9e92da86..ce3c88cd 100644 --- a/tvapp2/www/index.html +++ b/tvapp2/www/index.html @@ -370,8 +370,8 @@ { $.ajax( { - url: 'restart', - type: 'POST', + url: 'api/restart', + type: 'GET', data: { internal: 1 },