mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 05:35:41 -04:00
refactor: move api endpoint restart to api/restart
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -370,8 +370,8 @@
|
||||
{
|
||||
$.ajax(
|
||||
{
|
||||
url: 'restart',
|
||||
type: 'POST',
|
||||
url: 'api/restart',
|
||||
type: 'GET',
|
||||
data: {
|
||||
internal: 1
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user