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
2
main.go
2
main.go
|
@ -100,7 +100,7 @@ func main() {
|
|||
}
|
||||
|
||||
// create parser
|
||||
parser, err := NewParser(config.IncludeRegex, config.ExcludeRegex)
|
||||
parser, err := NewParser(config.BrowserAddress, config.IncludeRegex, config.ExcludeRegex)
|
||||
if err != nil {
|
||||
log.Fatalf("could not create parser: %s", err)
|
||||
}
|
||||
|
|
Reference in a new issue