Phase 13, part 6: each team's Core
On the server and multi-tenant editions a team's admin enters its Core's domain and account under Settings → Core & Hermes, instead of core.conf; Hermes connects from the team's side with an agent's key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -37,8 +37,8 @@ func (s *Server) plausibleURL() string {
|
||||
if _, err := s.DB.GetJSON(plausibleURLKey, &u); err == nil && u != "" {
|
||||
return u
|
||||
}
|
||||
if s.Core != nil && s.Core.Domain != "" {
|
||||
return "https://plausible." + s.Core.Domain
|
||||
if s.core() != nil && s.core().Domain != "" {
|
||||
return "https://plausible." + s.core().Domain
|
||||
}
|
||||
return "https://plausible.io"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user