mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
refactor NodeInfo
This commit is contained in:
@@ -31,7 +31,7 @@ func (c *Controller) renewCertTask() error {
|
||||
|
||||
func (c *Controller) requestCert() error {
|
||||
switch c.CertConfig.CertMode {
|
||||
case "reality", "none", "":
|
||||
case "none", "":
|
||||
case "file":
|
||||
if c.CertConfig.CertFile == "" || c.CertConfig.KeyFile == "" {
|
||||
return fmt.Errorf("cert file path or key file path not exist")
|
||||
|
||||
Reference in New Issue
Block a user