mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
add rpcClient to window
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user