[no ci] Update wifibroadcast-ng

pull/1723/head
viktorxda 2025-02-22 18:59:21 +01:00
parent f4686db177
commit fef50b8a91
2 changed files with 3 additions and 0 deletions

View File

@ -116,6 +116,7 @@ start() {
sleep 1
video_settings
touch /etc/system.ok
killall -1 majestic
fi
stop

View File

@ -9,6 +9,7 @@ async function loadYAML(url, setter) {
async function uploadYAML(data, location) {
const yamlData = jsyaml.dump(data);
await fetch('/upload', {
method: 'POST',
headers: { 'File-Location': location },
body: yamlData
});
@ -16,6 +17,7 @@ async function uploadYAML(data, location) {
async function runCommand(command) {
await fetch('/command', {
method: 'POST',
headers: { 'Run-Command': command }
});
}