mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
rpc/v1
This commit is contained in:
committed by
Aiden McClelland
parent
3dae1a540b
commit
81b83782e3
@@ -16,7 +16,7 @@ export class HttpService {
|
|||||||
private readonly http: HttpClient,
|
private readonly http: HttpClient,
|
||||||
) {
|
) {
|
||||||
const port = window.location.port
|
const port = window.location.port
|
||||||
this.fullUrl = `${window.location.protocol}//${window.location.hostname}:${port}`
|
this.fullUrl = `${window.location.protocol}//${window.location.hostname}:${port}/rpc/v1`
|
||||||
}
|
}
|
||||||
|
|
||||||
async rpcRequest<T> (body: RPCOptions): Promise<T> {
|
async rpcRequest<T> (body: RPCOptions): Promise<T> {
|
||||||
|
|||||||
Reference in New Issue
Block a user