splash chart
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
import { environment } from '../../environments/environment';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class AppService {
|
||||
|
||||
constructor(
|
||||
private httpClient: HttpClient
|
||||
) { }
|
||||
|
||||
public getInfo() {
|
||||
return this.httpClient.get(`${environment.API_URL}/api/info`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user