fix: allow non ip address (DNS)

This commit is contained in:
Andras Bacsai 2023-09-18 10:41:19 +02:00
parent cc1bf023be
commit a386a1bde5

View File

@ -26,7 +26,7 @@ class ByIp extends Component
protected $rules = [
'name' => 'required|string',
'description' => 'nullable|string',
'ip' => 'required|ip',
'ip' => 'required',
'user' => 'required|string',
'port' => 'required|integer',
];