mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore(route) rm " "
This commit is contained in:
parent
c33ccaba98
commit
018aec0150
1 changed files with 2 additions and 2 deletions
|
|
@ -190,13 +190,13 @@ function route(request, response, callback) {
|
|||
|
||||
if (error)
|
||||
return ponse.sendError(error, p);
|
||||
|
||||
|
||||
ponse.send(data, p);
|
||||
});
|
||||
|
||||
if (error.code !== 'ENOTDIR')
|
||||
return ponse.sendError(error, p);
|
||||
|
||||
|
||||
fs.realpath(fullPath, (error, pathReal) => {
|
||||
if (!error)
|
||||
p.name = pathReal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue