Tokumeikoi 5 年之前
父节点
当前提交
51f4ad417e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Requests/Admin/ServerSave.php

+ 1 - 1
app/Http/Requests/Admin/ServerSave.php

@@ -16,7 +16,7 @@ class ServerSave extends FormRequest
         'port' => 'required',
         'server_port' => 'required',
         'tls' => 'required',
-        'tags' => 'array',
+        'tags' => 'nullable|array',
         'rate' => 'required|numeric',
         'network' => 'required|in:tcp,kcp,ws,http,domainsocket,quic',
         'settings' => ''