mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-10-26 09:11:01 +00:00
Implement YAML unmarshalling for various proxy types and update SOCKS parser to support "socks5" prefix.
This commit is contained in:
@@ -18,7 +18,7 @@ func (p *SocksParser) SupportMeta() bool {
|
||||
}
|
||||
|
||||
func (p *SocksParser) GetPrefixes() []string {
|
||||
return []string{"socks://"}
|
||||
return []string{"socks://", "socks5://"}
|
||||
}
|
||||
|
||||
func (p *SocksParser) GetType() string {
|
||||
|
||||
Reference in New Issue
Block a user