Echte MA
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -12,6 +12,6 @@ post {
|
||||
|
||||
body:json {
|
||||
{
|
||||
"mac": "70:BC:10:76:72:73"
|
||||
"mac": "9C:6B:00:A1:3C:47"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user