in src/services/report.ts [21:33]
constructor(type: string, collector: string) {
if (type === 'ERROR') {
this.url = collector + ReportTypes.ERROR;
} else if (type === 'ERRORS') {
this.url = collector + ReportTypes.ERRORS;
} else if (type === 'SEGMENT') {
this.url = collector + ReportTypes.SEGMENT;
} else if (type === 'SEGMENTS') {
this.url = collector + ReportTypes.SEGMENTS;
} else if (type === 'PERF') {
this.url = collector + ReportTypes.PERF;
}
}