mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
minor changes
This commit is contained in:
parent
931bb7979a
commit
4eceaf91e9
2 changed files with 5 additions and 2 deletions
|
|
@ -352,7 +352,10 @@
|
|||
|
||||
function getCleanPath(pReq){
|
||||
var lPath = getPath(pReq),
|
||||
lRet = Util.removeStr(lPath, [NO_JS, FS]) || '/';
|
||||
lRet = Util.removeStr(lPath, [NO_JS, FS]) || main.SLASH;
|
||||
|
||||
if(lRet !== '/')
|
||||
lRet = lRet += main.SLASH;
|
||||
|
||||
return lRet;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue