This commit is contained in:
2025-10-25 20:36:39 +02:00
parent 1000bb99b1
commit 9b4b0befc4
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ export class WolService {
// 1. Rufe die Funktion direkt auf.
// Sie ist synchron und "fire-and-forget".
// Sie WIRFT einen FEHLER, wenn die MAC-Adresse ungültig ist.
wake(mac, {});
wake(mac, { port: 9 });
// 2. Wenn die Zeile oben KEINEN Fehler wirft,
// ist die Anfrage raus. Gib sofort Erfolg zurück.

View File

@@ -12,6 +12,6 @@ post {
body:json {
{
"mac": "70:BC:10:76:72:73"
"mac": "9C:6B:00:A1:3C:47"
}
}