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
@@ -36,8 +36,8 @@ func (s *Server) renderForms(w http.ResponseWriter, r *http.Request, errMsg, fla
all, cur := s.currentSite(r)
data := map[string]any{"Sites": all, "Current": cur, "Gitea": s.gitea() != nil, "Payload": sites.LeadPayloadFields,
"Goal": tracking.LeadGoal, "Plausible": s.plausible() != nil}
if s.Core != nil && s.Core.Domain != "" {
data["CRM"] = "https://espocrm." + s.Core.Domain
if s.core() != nil && s.core().Domain != "" {
data["CRM"] = "https://espocrm." + s.core().Domain
}
if cur != nil && cur.Repo != "" {
var capture string