mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 01:08:31 +02:00
simplify icon caching and homepage item override
This commit is contained in:
@@ -194,7 +194,7 @@ func (r *HTTPRoute) addToLoadBalancer(parent task.Parent) {
|
||||
linked = l.(*HTTPRoute)
|
||||
lb = linked.loadBalancer
|
||||
lb.UpdateConfigIfNeeded(cfg)
|
||||
if linked.Raw.Homepage == nil && r.Raw.Homepage != nil {
|
||||
if linked.Raw.Homepage.IsEmpty() && !r.Raw.Homepage.IsEmpty() {
|
||||
linked.Raw.Homepage = r.Raw.Homepage
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user