Explorar el Código

added port and host properties to app object

master
mortie hace 6 años
padre
commit
b4155771e7
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 2
    0
      index.js
  2. 1
    1
      package.json

+ 2
- 0
index.js Ver fichero

@@ -52,6 +52,8 @@ class App {

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

this._routeMap = {};

+ 1
- 1
package.json Ver fichero

@@ -1,6 +1,6 @@
{
"name": "webframe",
"version": "0.8.1",
"version": "0.8.2",
"description": "Web framework.",
"main": "index.js",
"scripts": {

Cargando…
Cancelar
Guardar