mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-17 06:19:51 +02:00
Enhance REST URI
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user