mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-11-04 01:00:21 +00:00
fix file cert mode, support null ShortIds for reality
This commit is contained in:
1 parent
99ea46457c
commit
cda0b6711e
2 files changed
+7
No files matched your search
@@ -28,6 +28,7 @@ func (c *Controller) requestCert() error {
|
||||
if c.CertConfig.CertFile == "" || c.CertConfig.KeyFile == "" {
|
||||
return fmt.Errorf("cert file path or key file path not exist")
|
||||
}
|
||||
return nil
|
||||
case "dns", "http":
|
||||
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