Add image generation feature with new component and service integration
This commit is contained in:
@@ -21,6 +21,10 @@ export class SystemService {
|
||||
return this.http.get<Bean[]>(this.baseUrl+"/beans");
|
||||
}
|
||||
|
||||
getImage(): Observable<Blob> {
|
||||
return this.http.get(this.baseUrl+"/image", {responseType: 'blob'});
|
||||
}
|
||||
|
||||
getCustomBeans(): Observable<Bean[]> {
|
||||
return this.http.get<Bean[]>(this.baseUrl+"/beans/custom");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user