mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
fix(control): could not start display over wol
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ func wakeOnLanRoute(ctx echo.Context) error {
|
||||
if err != nil {
|
||||
return ctx.JSON(http.StatusInternalServerError, shared.ErrorResponse{Description: "Failed to create Wake-on-LAN client"})
|
||||
}
|
||||
if err := client.Wake("255.255.255.255", mac); err != nil {
|
||||
if err := client.Wake("255.255.255.255:7", mac); err != nil {
|
||||
return ctx.JSON(http.StatusInternalServerError, shared.ErrorResponse{Description: "Failed to send Wake-on-LAN packet"})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user