Configure headless browser address
Add `browser_address` configuration setting to define where is the headless browser instead of relying on the default value. Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
6f002f007d
commit
45025def65
5 changed files with 11 additions and 9 deletions
|
|
@ -8,10 +8,11 @@ import (
|
|||
|
||||
// Config to store JSON configuration
|
||||
type Config struct {
|
||||
TwitterConfig `json:"twitter"`
|
||||
URLs []string `json:"urls"`
|
||||
IncludeRegex string `json:"include_regex"`
|
||||
ExcludeRegex string `json:"exclude_regex"`
|
||||
TwitterConfig `json:"twitter"`
|
||||
URLs []string `json:"urls"`
|
||||
IncludeRegex string `json:"include_regex"`
|
||||
ExcludeRegex string `json:"exclude_regex"`
|
||||
BrowserAddress string `json:"browser_address"`
|
||||
}
|
||||
|
||||
// TwitterConfig to store Twitter API secrets
|
||||
|
|
|
|||
Reference in a new issue