mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-01 22:53:05 +02:00
improved homepage labels
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
. "github.com/yusing/go-proxy/internal/common"
|
||||
D "github.com/yusing/go-proxy/internal/docker"
|
||||
H "github.com/yusing/go-proxy/internal/homepage"
|
||||
U "github.com/yusing/go-proxy/internal/utils"
|
||||
F "github.com/yusing/go-proxy/internal/utils/functional"
|
||||
)
|
||||
|
||||
@@ -40,11 +39,6 @@ func (e *RawEntry) FillMissingFields() {
|
||||
e.ProxyProperties = &D.ProxyProperties{}
|
||||
}
|
||||
|
||||
if e.Homepage == nil {
|
||||
e.Homepage = H.HomePageItemDefault()
|
||||
e.Homepage.Name = U.Title(e.Alias)
|
||||
}
|
||||
|
||||
lp, pp, extra := e.splitPorts()
|
||||
|
||||
if port, ok := ServiceNamePortMapTCP[e.ImageName]; ok {
|
||||
|
||||
Reference in New Issue
Block a user