mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-11 23:28:41 +00:00
Added setRootPath
This commit is contained in:
parent
70fba3147d
commit
278c35d7d2
|
|
@ -186,6 +186,12 @@
|
||||||
this.base = this.scheme + '://' + this.host;
|
this.base = this.scheme + '://' + this.host;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
jsOMS.Uri.Http.prototype.setRootPath = function(rootPath)
|
||||||
|
{
|
||||||
|
this.root = rootPath;
|
||||||
|
this.set(this.uri);
|
||||||
|
};
|
||||||
|
|
||||||
jsOMS.Uri.Http.prototype.getBase = function()
|
jsOMS.Uri.Http.prototype.getBase = function()
|
||||||
{
|
{
|
||||||
return this.base;
|
return this.base;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user