This commit is contained in:
Drew Ansbacher
2021-09-14 18:59:30 -06:00
committed by Aiden McClelland
parent 3dae1a540b
commit 81b83782e3

View File

@@ -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> {