mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(route) rm console.log
This commit is contained in:
parent
275d89cf89
commit
81a958c31a
1 changed files with 3 additions and 3 deletions
|
|
@ -146,11 +146,11 @@
|
|||
name : name,
|
||||
mime : 'text/html'
|
||||
};
|
||||
console.log(p.mime, '...')
|
||||
|
||||
if (!isAuth && !isFS)
|
||||
callback();
|
||||
else if (isAuth) {
|
||||
console.log('* Routing' + '-> ' + name);
|
||||
//'* Routing' + '-> ' + name
|
||||
|
||||
p.name = DIR_HTML + name + '.html';
|
||||
ponse.sendFile(p);
|
||||
|
|
@ -165,7 +165,7 @@
|
|||
if (!error)
|
||||
buildIndex(dir, function(error, data) {
|
||||
p.name = PATH_INDEX;
|
||||
console.log(p, '88888')
|
||||
|
||||
if (error)
|
||||
ponse.sendError(error, p);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue