mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(server) start: http -> HTTP
This commit is contained in:
parent
e7aa819500
commit
15dcc2d8db
2 changed files with 4 additions and 2 deletions
|
|
@ -119,7 +119,7 @@
|
|||
if (config.server)
|
||||
if (ssl) {
|
||||
Util.log('* Redirection http -> https is setted up');
|
||||
serverLog(http, port);
|
||||
serverLog(HTTP, port);
|
||||
|
||||
redirectServer = http.createServer(function(req, res) {
|
||||
var url,
|
||||
|
|
|
|||
|
|
@ -159,10 +159,12 @@
|
|||
|
||||
onDelete(p.name, files, query, function(error, callback) {
|
||||
checkSendError(error, params, function() {
|
||||
var names = files.length ? files : p.name;
|
||||
|
||||
if (callback)
|
||||
Util.exec(callback);
|
||||
else
|
||||
sendMsg(params, 'delete', body);
|
||||
sendMsg(params, 'delete', names);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue