Archived
1
0
Fork 0

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:
Julien Riou 2021-03-01 13:11:58 +01:00
commit 45025def65
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
5 changed files with 11 additions and 9 deletions

View file

@ -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