refactor: move api endpoint restart to api/restart

This commit is contained in:
2025-04-11 13:00:29 -07:00
parent 55d5cae85f
commit 51023a0e14
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -370,8 +370,8 @@
{
$.ajax(
{
url: 'restart',
type: 'POST',
url: 'api/restart',
type: 'GET',
data: {
internal: 1
},