Fix: panic when using direct proxy

This commit is contained in:
xjasonlyu
2021-02-06 18:58:56 +08:00
parent 9caf06760d
commit 496d25ff23

View File

@@ -15,7 +15,9 @@ type Direct struct {
}
func NewDirect() *Direct {
return &Direct{}
return &Direct{
Base: &Base{},
}
}
func (d *Direct) Type() string {