aboutsummaryrefslogtreecommitdiff
path: root/server_config.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-22 14:00:27 +0700
committerShulhan <ms@kilabit.info>2026-01-22 14:07:20 +0700
commitb20dc5c85b418b7167b3fb7866c7ea9a9fa0a705 (patch)
tree9305a5da1d82df61c342d12b7f3c47ab2e8a3b2e /server_config.go
parentdcf27b411a29f29a0afff161fec8e0364e1cce2c (diff)
downloadlilin-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 'server_config.go')
-rw-r--r--server_config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/server_config.go b/server_config.go
index 2a320a2..ddbb742 100644
--- a/server_config.go
+++ b/server_config.go
@@ -35,6 +35,8 @@ type ServerConfig struct {
DownTemplate string `ini:"default::down_template"`
UpTemplate string `ini:"default::up_template"`
+ Title string `ini:"server::title"`
+
// The address to listen for HTTP server and APIs.
Address string `ini:"server::address"`