mirror of https://gitlab.com/openlp/web-remote.git
Always send the headers
This commit is contained in:
parent
1949be3b73
commit
91d902d07c
|
@ -64,15 +64,15 @@ export class OpenLPService {
|
|||
}
|
||||
|
||||
getMainImage(): Observable<MainView> {
|
||||
return this.http.get<MainView>(`${this.apiURL}/core/live-image`);
|
||||
return this.http.get<MainView>(`${this.apiURL}/core/live-image`, httpOptions);
|
||||
}
|
||||
|
||||
getItemSlides(): Observable<Slide[]> {
|
||||
return this.http.get<Slide[]>(`${this.apiURL}/controller/live-item`);
|
||||
return this.http.get<Slide[]>(`${this.apiURL}/controller/live-item`, httpOptions);
|
||||
}
|
||||
|
||||
getServiceItems(): Observable<ServiceItem[]> {
|
||||
return this.http.get<ServiceItem[]>(`${this.apiURL}/service/list`);
|
||||
return this.http.get<ServiceItem[]>(`${this.apiURL}/service/list`, httpOptions);
|
||||
}
|
||||
|
||||
getSearchablePlugins(): Observable<PluginDescription[]> {
|
||||
|
@ -84,7 +84,7 @@ export class OpenLPService {
|
|||
}
|
||||
|
||||
search(plugin, text): Observable<any> {
|
||||
return this.http.get(`${this.apiURL}/plugins/${plugin}/search?text=${text}`);
|
||||
return this.http.get(`${this.apiURL}/plugins/${plugin}/search?text=${text}`, httpOptions);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue