splash chart

This commit is contained in:
Ben Wilson
2023-07-10 20:14:21 -04:00
parent c10e4b2951
commit 1768964e0f
3 changed files with 101 additions and 1 deletions
+18
View File
@@ -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`);
}
}