Add support for custom collectors and bouncers

This commit is contained in:
Arturo Filastò
2018-09-21 18:54:44 +02:00
parent 5a3c5e94f8
commit 0d21186492
6 changed files with 23 additions and 5 deletions
+4 -2
View File
@@ -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
+3 -1
View File
@@ -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/",
}
}