mirror of
https://github.com/fatedier/frp.git
synced 2025-07-29 22:31:06 +07:00
fix route conflict
This commit is contained in:
@ -51,6 +51,10 @@ func (pxy *HttpProxy) Run() (remoteAddr string, err error) {
|
||||
|
||||
addrs := make([]string, 0)
|
||||
for _, domain := range pxy.cfg.CustomDomains {
|
||||
if domain == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
routeConfig.Domain = domain
|
||||
for _, location := range locations {
|
||||
routeConfig.Location = location
|
||||
|
Reference in New Issue
Block a user