fix(rest) crash on /api/v1

This commit is contained in:
coderaiser 2013-10-28 15:57:58 +00:00
parent 7ab3e5549e
commit a6b7e3a9bd

View file

@ -38,7 +38,7 @@
lRet = Util.isContainStr(p.name, lAPIURL);
if (lRet) {
p.name = Util.removeStrOneTime(p.name, lAPIURL);
p.name = Util.removeStrOneTime(p.name, lAPIURL) || '/';
sendData(pParams);
}
}