Просмотр исходного кода

added port and host properties to app object

master
mortie 8 лет назад
Родитель
Сommit
b4155771e7
2 измененных файлов: 3 добавлений и 1 удалений
  1. 2
    0
      index.js
  2. 1
    1
      package.json

+ 2
- 0
index.js Просмотреть файл



this.server.listen(port, host); this.server.listen(port, host);
this.info("Listening on "+host+":"+port); this.info("Listening on "+host+":"+port);
this.port = port;
this.host = host;
} }


this._routeMap = {}; this._routeMap = {};

+ 1
- 1
package.json Просмотреть файл

{ {
"name": "webframe", "name": "webframe",
"version": "0.8.1",
"version": "0.8.2",
"description": "Web framework.", "description": "Web framework.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

Загрузка…
Отмена
Сохранить