Add support for custom collectors and bouncers
This commit is contained in:
parent
5a3c5e94f8
commit
0d21186492
6 changed files with 23 additions and 5 deletions
|
|
@ -119,8 +119,10 @@ type Sharing struct {
|
|||
|
||||
// Advanced settings
|
||||
type Advanced struct {
|
||||
UseDomainFronting bool `json:"use_domain_fronting"`
|
||||
SendCrashReports bool `json:"send_crash_reports"`
|
||||
UseDomainFronting bool `json:"use_domain_fronting"`
|
||||
SendCrashReports bool `json:"send_crash_reports"`
|
||||
CollectorURL string `json:"collector_url"`
|
||||
BouncerURL string `json:"bouncer_url"`
|
||||
}
|
||||
|
||||
// AutomatedTesting settings
|
||||
|
|
|
|||
4
config/testdata/valid-config.json
vendored
4
config/testdata/valid-config.json
vendored
|
|
@ -58,6 +58,8 @@
|
|||
},
|
||||
"advanced": {
|
||||
"use_domain_fronting": false,
|
||||
"send_crash_reports": true
|
||||
"send_crash_reports": true,
|
||||
"bouncer_url": "https://bouncer.ooni.io/",
|
||||
"collector_url": "https://c.collector.ooni.io/",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue