home: tls manager web api

This commit is contained in:
Stanislav Chzhen 2025-03-18 17:53:17 +03:00
parent 85a4de7931
commit e35f742e42
3 changed files with 71 additions and 31 deletions
internal/home

View file

@ -677,6 +677,8 @@ func run(opts options, clientBuildFS fs.FS, done chan struct{}, sigHdlr *signalH
globalContext.web, err = initWeb(ctx, opts, clientBuildFS, upd, slogLogger, tlsMgr, customURL)
fatalOnError(err)
tlsMgr.setWebAPI(globalContext.web)
statsDir, querylogDir, err := checkStatsAndQuerylogDirs(&globalContext, config)
fatalOnError(err)