From 1bbbd49ce978bce1504ffe90a0500e88032798b7 Mon Sep 17 00:00:00 2001 From: lxsang Date: Fri, 26 Jun 2020 14:41:44 +0200 Subject: [PATCH] Enhance REST URI --- src/core/handles/RemoteHandle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/handles/RemoteHandle.ts b/src/core/handles/RemoteHandle.ts index 0702df8..bacda23 100644 --- a/src/core/handles/RemoteHandle.ts +++ b/src/core/handles/RemoteHandle.ts @@ -126,7 +126,7 @@ namespace OS { /** * The base REST URI of the server-side API */ - export var REST: string = `${loc.protocol}//${HOST}`; + export var REST: string = `${loc.protocol}//${HOST}${loc.pathname}`; /** * The namespace `handle` contains some low level API to