summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-07-29 21:59:17 +0800
committerKeuin <[email protected]>2023-07-29 21:59:17 +0800
commit1e8ea437254a818452111cd52549032a6ea61f71 (patch)
tree71face8fad55e3499199a8f27a5e4807b86fa027 /config.go
parent03d9784bf682b05e3c4a46eb6cd32f4319e8636b (diff)
Make API server endpoint configurable in config file & CLI argapi-server
Diffstat (limited to 'config.go')
-rw-r--r--config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.go b/config.go
index 078b949..65794af 100644
--- a/config.go
+++ b/config.go
@@ -3,5 +3,6 @@ package main
import "github.com/keuin/slbr/recording"
type GlobalConfig struct {
- Tasks []recording.TaskConfig `mapstructure:"tasks"`
+ Tasks []recording.TaskConfig `mapstructure:"tasks"`
+ ApiServer string `mapstructure:"api_server"`
}