Skip to content

Commit 3e6cae5

Browse files
vsilentCopilot
andcommitted
web: fix threat statistics endpoint path
Use /threats/statistics to match backend routes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f3b23e9 commit 3e6cae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/services/api.ts

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

4141
async getThreatStatistics(): Promise<ThreatStatistics> {
42-
const response = await this.api.get('/statistics');
42+
const response = await this.api.get('/threats/statistics');
4343
return response.data;
4444
}
4545

0 commit comments

Comments
 (0)