feature(cloudcmd) drop ssl suport

This commit is contained in:
coderaiser 2014-09-08 06:02:12 -04:00
parent 4e59f4c16e
commit 30e4905ffd
5 changed files with 7 additions and 62 deletions

View file

@ -25,9 +25,6 @@
Config = main.config,
KEY = DIR + 'ssl/ssl.key',
CERT = DIR + 'ssl/ssl.crt',
PATH_INDEX = DIR_FS + 'index.html',
TMPL_PATH = [
@ -144,9 +141,6 @@
return path;
});
if (Config.ssl)
filesList.push(KEY, CERT);
files.read(filesList, 'utf8', function(error, files) {
var status, msg, names;
@ -161,12 +155,6 @@
Template[name] = files[path];
});
if (Config.ssl)
params.ssl = {
key : files[KEY],
cert : files[CERT]
};
names = TMPL_PATH.map(function(item) {
return item + '.html';
});