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:
2026-11-25 12:29:44 -07:00
co-authored by Claude Opus 5.5
parent af6598271c
commit 1865140507
13 changed files with 166 additions and 34 deletions
+2 -2
View File
@@ -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"
}