mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
minor changes
This commit is contained in:
parent
0053b77f34
commit
57ce588284
1 changed files with 6 additions and 3 deletions
|
|
@ -59,8 +59,7 @@ var CloudServer = {
|
|||
* хранащий информацию в виде
|
||||
* Statuses[name] = 404;
|
||||
*/
|
||||
Statuses : {},
|
||||
|
||||
Statuses : {},
|
||||
|
||||
/*
|
||||
* queries of file params
|
||||
|
|
@ -73,6 +72,9 @@ var CloudServer = {
|
|||
/* Поддержка gzip-сжатия браузером */
|
||||
Gzip : undefined,
|
||||
|
||||
/* server varible */
|
||||
Server :{},
|
||||
|
||||
/* КОНСТАНТЫ */
|
||||
INDEX : 'index.html',
|
||||
LIBDIR : './lib',
|
||||
|
|
@ -183,7 +185,8 @@ CloudServer.start = function () {
|
|||
var http = require('http');
|
||||
|
||||
try {
|
||||
http.createServer(this._controller).listen(
|
||||
this.Server = http.createServer(this._controller);
|
||||
this.Server.listen(
|
||||
this.Port, this.IP);
|
||||
|
||||
console.log('Cloud Commander server running at http://' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue