Skip to content

Commit

Permalink
[no ci] Update wifibroadcast-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed Feb 22, 2025
1 parent f4686db commit fef50b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions general/package/wifibroadcast-ng/files/wifibroadcast
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ start() {
sleep 1
video_settings
touch /etc/system.ok
killall -1 majestic
fi

stop
Expand Down
2 changes: 2 additions & 0 deletions general/package/wifibroadcast-ng/www/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ 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
});
}

async function runCommand(command) {
await fetch('/command', {
method: 'POST',
headers: { 'Run-Command': command }
});
}
Expand Down

0 comments on commit fef50b8

Please sign in to comment.