databases without explicit alias(es) are now excluded by default

This commit is contained in:
yusing
2024-10-04 09:17:45 +08:00
parent e8f4cd18a4
commit 9c3edff92b
4 changed files with 35 additions and 3 deletions

View File

@@ -4,7 +4,6 @@ import (
"fmt"
"strings"
"github.com/sirupsen/logrus"
"github.com/yusing/go-proxy/internal/common"
H "github.com/yusing/go-proxy/internal/homepage"
PR "github.com/yusing/go-proxy/internal/proxy/provider"
@@ -55,8 +54,6 @@ func (cfg *Config) HomepageConfig() H.HomePageConfig {
}
}
logrus.Debugf("%s isexplicit: %v, explicitonly: %v", r, r.Entry().IsExplicit, p.IsExplicitOnly())
item := entry.Homepage
if !item.Show && !item.IsEmpty() {