diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-22 14:00:27 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-22 14:07:20 +0700 |
| commit | b20dc5c85b418b7167b3fb7866c7ea9a9fa0a705 (patch) | |
| tree | 9305a5da1d82df61c342d12b7f3c47ab2e8a3b2e /worker.go | |
| parent | dcf27b411a29f29a0afff161fec8e0364e1cce2c (diff) | |
| download | lilin-b20dc5c85b418b7167b3fb7866c7ea9a9fa0a705.tar.xz | |
all: add option to set custom Title on server configuration
The title will be displayed for window title and as the heading in
the status page.
While at it, remove the status column on the Down History section, since
the value is static.
Diffstat (limited to 'worker.go')
| -rw-r--r-- | worker.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -55,6 +55,7 @@ func newWorker(cfg ServerConfig) (wrk *worker, err error) { } wrk.Reports = Reports{ + Title: cfg.Title, Services: make(map[string]*ServiceReport, len(wrk.Services)), } for id := range wrk.Services { |
