hops-express
Advanced tools
Comparing version 7.3.0 to 7.3.2
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="7.3.2"></a> | ||
## [7.3.2](https://github.com/xing/hops/compare/v7.3.1...v7.3.2) (2017-10-26) | ||
### Bug Fixes | ||
* **express:** re-introduce exported `startServer` method ([9e7523a](https://github.com/xing/hops/commit/9e7523a)) | ||
<a name="7.3.0"></a> | ||
@@ -8,0 +19,0 @@ # [7.3.0](https://github.com/xing/hops/compare/v7.2.0...v7.3.0) (2017-10-26) |
@@ -6,7 +6,10 @@ 'use strict'; | ||
function runServer (options, callback) { | ||
server.run(createApp(), callback); | ||
} | ||
module.exports = { | ||
createApp: createApp, | ||
runServer: function runServer (options, callback) { | ||
server.run(createApp(), callback); | ||
} | ||
runServer: runServer, | ||
startServer: runServer // added for backwards compat - remove a.s.a.p. | ||
}; |
{ | ||
"name": "hops-express", | ||
"version": "7.3.0", | ||
"version": "7.3.2", | ||
"description": "Express server to enable server-side rendering of hops applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -15,4 +15,4 @@ # Hops Express | ||
## `startServer(callback)` | ||
`startServer()` is a small wrapper around `createApp()` and executes `app.listen()` with the values provided through hops-config. | ||
## `runServer(callback)` | ||
`runServer()` is a small wrapper around `createApp()` and executes `app.listen()` with the values provided through hops-config. | ||
@@ -33,3 +33,3 @@ | ||
hopsExpress.startServer(function (error) { | ||
hopsExpress.runServer(function (error) { | ||
if (error) { | ||
@@ -36,0 +36,0 @@ console.error(error); |
5570
83