mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 08:05:40 -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 subdomainKey = [ 'key', 'keys' ];
|
||||||
const subdomainChan = [ 'channels', 'channel', 'chan' ];
|
const subdomainChan = [ 'channels', 'channel', 'chan' ];
|
||||||
const subdomainHealth = [ 'api/status', 'api/health' ];
|
const subdomainHealth = [ 'api/status', 'api/health' ];
|
||||||
|
const subdomainRestart = [ 'api/restart', 'api/sync', 'api/resync' ];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Container Information
|
Container Information
|
||||||
|
|||||||
@@ -370,8 +370,8 @@
|
|||||||
{
|
{
|
||||||
$.ajax(
|
$.ajax(
|
||||||
{
|
{
|
||||||
url: 'restart',
|
url: 'api/restart',
|
||||||
type: 'POST',
|
type: 'GET',
|
||||||
data: {
|
data: {
|
||||||
internal: 1
|
internal: 1
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user