feat: import Sea vHost single-server testing release
This commit is contained in:
commit
248badd33e
441 files changed
+63221
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user