experimental homepage labels support

This commit is contained in:
yusing
2024-10-03 10:10:14 +08:00
parent 90bababd38
commit e6b4630ce9
7 changed files with 43 additions and 24 deletions

View File

@@ -9,7 +9,6 @@ import (
"github.com/sirupsen/logrus"
D "github.com/yusing/go-proxy/internal/docker"
E "github.com/yusing/go-proxy/internal/error"
H "github.com/yusing/go-proxy/internal/homepage"
M "github.com/yusing/go-proxy/internal/models"
R "github.com/yusing/go-proxy/internal/route"
W "github.com/yusing/go-proxy/internal/watcher"
@@ -185,7 +184,6 @@ func (p *DockerProvider) entriesFromContainerLabels(container D.Container) (entr
Alias: a,
Host: p.hostname,
ProxyProperties: container.ProxyProperties,
Homepage: &H.HomePageItem{},
})
}