diff --git a/server/SHServ/Entities/Device.php b/server/SHServ/Entities/Device.php index da68ead..5711b63 100644 --- a/server/SHServ/Entities/Device.php +++ b/server/SHServ/Entities/Device.php @@ -98,6 +98,6 @@ } public function ping() { - return app() -> utils -> fast_ping_tcp("http://{$this -> device_ip}"); + return app() -> utils -> fast_ping_tcp($this -> device_ip); } -} \ No newline at end of file +}