Enhance REST URI

This commit is contained in:
lxsang 2020-06-26 14:41:44 +02:00
parent d05b3474c0
commit 1bbbd49ce9

View File

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