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 @@ var listmonkToken = secretField{"listmonk", secrets.ListmonkToken, "API token",
func (s *Server) listmonkConfig() listmonkSettings {
var set listmonkSettings
_, _ = s.DB.GetJSON(listmonkKey, &set)
if set.URL == "" && s.Core != nil {
set.URL = "https://listmonk." + s.Core.Domain
if set.URL == "" && s.core() != nil {
set.URL = "https://listmonk." + s.core().Domain
}
return set
}