This commit is contained in:
Drew Ansbacher
2021-09-14 18:59:30 -06:00
parent cc7a8ba8dd
commit 7a166d4490

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