feat: import Sea vHost single-server testing release

This commit is contained in:
canglan committed 2026-10-30 08:39:10 +08:00
commit 248badd33e
441 files changed
+63221

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package service
import (
"context"
"sea-vhost/internal/scope"
)
func (s *Projects) nodeRootDomain(ctx context.Context) string {
if s.store != nil {
n, err := s.store.Node(ctx, scope.Node(ctx))
if err == nil {
return n.RootDomain
}
}
return s.rootDomain
}