Comparing version 1.7.0 to 1.7.1
@@ -7,2 +7,5 @@ # Change Log | ||
[1.7.1] - 2019-06-21 | ||
- **Fixed** issue on port argument of `start` method | ||
[1.7.0] - 2019-06-21 | ||
@@ -9,0 +12,0 @@ - **Added** `port` argument to `start` method |
{ | ||
"name": "apj", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Start with a complete Koa server with zero configuration.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,2 +21,3 @@ # Apj | ||
## Installation | ||
@@ -23,0 +24,0 @@ |
@@ -119,3 +119,3 @@ const Validator = require('valify'); | ||
start(port) { | ||
const _port = port || this.opt.dev ? this.opt.devPort : this.opt.port; | ||
const _port = port || (this.opt.dev ? this.opt.devPort : this.opt.port); | ||
@@ -122,0 +122,0 @@ this.server = http |
Sorry, the diff of this file is not supported yet
28867
271