mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 14:08:22 +01:00
Enhance REST URI
This commit is contained in:
parent
d05b3474c0
commit
1bbbd49ce9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user