Add encrypted configuration backup and planned restore
This commit is contained in:
@@ -26,6 +26,7 @@ function appearancePage(){
|
||||
async function refresh(){if(refreshing)return;refreshing=true;const page=location.hash.slice(1)||'dashboard';document.querySelectorAll('nav a').forEach(a=>a.classList.toggle('active',a.hash==='#'+page));try{error.textContent='';let html;
|
||||
if(['video','video-runtime'].includes(page)){VideoUI.runtime();return;}
|
||||
if(['chat','image','audio','stt','music','voice','video','runtime','runtimes','image-runtime','stt-runtime','tts-runtime','docker-runtime','services'].includes(page)){Studio.render(page);return;}
|
||||
if(page==='backup'){BackupUI.render();return;}
|
||||
if(page==='access'){await accessPage();return;}
|
||||
if(page==='appearance'){appearancePage();return;}
|
||||
if(page==='network'){await networkPage();return;}
|
||||
|
||||
Reference in New Issue
Block a user