mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-25 08:01:54 +08:00
feat(dns): support use multiple root domains (#51)
This commit is contained in:
@@ -195,8 +195,8 @@ func New(c *Config) *Revsuit {
|
||||
if c.HTTP.IpHeader != "" {
|
||||
s.http.SetIpHeader(c.HTTP.IpHeader)
|
||||
}
|
||||
if c.Domain != "" {
|
||||
s.dns.SetServerDomain(c.Domain)
|
||||
if len(c.Domains) != 0 {
|
||||
s.dns.SetServerDomain(c.Domains)
|
||||
}
|
||||
if c.ExternalIP != "" {
|
||||
s.dns.SetServerIP(c.ExternalIP)
|
||||
|
||||
Reference in New Issue
Block a user