blob: 42ca9a7af158565c403f19ed86e717507b788f03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class MonitorService {
constructor(private http: HttpClient) {}
getMonitor() {
return this.http.get('api/monitor');
}
}
|