mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 08:39:09 +08:00
add server rules
This commit is contained in:
parent
5bd524fbf1
commit
26e63cbe1c
@ -18,7 +18,8 @@ class ServerSave extends FormRequest
|
|||||||
'tls' => 'required',
|
'tls' => 'required',
|
||||||
'tags' => 'array',
|
'tags' => 'array',
|
||||||
'rate' => 'required|numeric',
|
'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.
|
* Get the validation rules that apply to the request.
|
||||||
|
Loading…
Reference in New Issue
Block a user