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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user