mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-26 14:11:46 +03:00
Migrate bad options to library
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package option
|
||||
|
||||
import "github.com/sagernet/sing/common/json/badoption"
|
||||
|
||||
type TunPlatformOptions struct {
|
||||
HTTPProxy *HTTPProxyOptions `json:"http_proxy,omitempty"`
|
||||
}
|
||||
@@ -7,6 +9,6 @@ type TunPlatformOptions struct {
|
||||
type HTTPProxyOptions struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
ServerOptions
|
||||
BypassDomain Listable[string] `json:"bypass_domain,omitempty"`
|
||||
MatchDomain Listable[string] `json:"match_domain,omitempty"`
|
||||
BypassDomain badoption.Listable[string] `json:"bypass_domain,omitempty"`
|
||||
MatchDomain badoption.Listable[string] `json:"match_domain,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user