Skip to content

Commit b3c1ebd

Browse files
fix[frontend](collector): fixed collector details endpoint call
1 parent aff15f5 commit b3c1ebd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/app/app-module/shared/services/utm-module-collector.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class UtmModuleCollectorService {
3939
}
4040

4141
groups(collectorId: string): Observable<HttpResponse<UtmModuleGroupType[]>> {
42-
return this.http.get<UtmModuleGroupType[]>(`${this.resourceUrl}/${collectorId}/groups`, {observe: 'response'});
42+
return this.http.get<UtmModuleGroupType[]>(`${this.resourceUrl}/${collectorId}/module-groups`, {observe: 'response'});
4343
}
4444

4545
getCollectorGroupConfig(groups: UtmModuleGroupType[], collectors: UtmModuleCollectorType[]) {

frontend/src/environments/environment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
export const environment = {
66
production: false,
7-
SERVER_API_URL: 'https://192.168.1.18/',
8-
// SERVER_API_URL: 'http://localhost:8080/',
7+
// SERVER_API_URL: 'https://192.168.1.18/',
8+
SERVER_API_URL: 'http://localhost:8080/',
99
SERVER_API_CONTEXT: '',
1010
SESSION_AUTH_TOKEN: window.location.host.split(':')[0].toLocaleUpperCase(),
1111
WEBSOCKET_URL: '//localhost:8080',

0 commit comments

Comments
 (0)