From 26e63cbe1c4b68f82cd8eaa7b56df5827cc92b7f Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Mon, 10 Feb 2020 18:54:17 +0800 Subject: [PATCH] add server rules --- app/Http/Requests/Admin/ServerSave.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Requests/Admin/ServerSave.php b/app/Http/Requests/Admin/ServerSave.php index ae76ec82..2e4d0fba 100755 --- a/app/Http/Requests/Admin/ServerSave.php +++ b/app/Http/Requests/Admin/ServerSave.php @@ -18,7 +18,8 @@ class ServerSave extends FormRequest 'tls' => 'required', 'tags' => 'array', 'rate' => 'required|numeric', - 'network' => 'required|in:tcp,kcp,ws,http,domainsocket,quic' + 'network' => 'required|in:tcp,kcp,ws,http,domainsocket,quic', + 'settings' => '' ]; /** * Get the validation rules that apply to the request.