add rpcClient to window

This commit is contained in:
Matt Hill
2021-09-30 12:36:27 -06:00
committed by Aiden McClelland
parent 6386359fe3
commit 4a63e3079c

View File

@@ -9,7 +9,10 @@ export class LiveApiService extends ApiService {
constructor (
private readonly http: HttpService,
) { super() }
) {
super();
(window as any).rpcClient = this
}
async getStatic (url: string): Promise<string> {
return this.http.httpRequest({