@blaasvaer/frmwrk 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -130,7 +130,7 @@ console.log("Authorize - check credentials:", credentials);
130
130
  * Create and start the server
131
131
  * @return {function} Server instance
132
132
  */
133
- http.createServer( handleRequest ).listen(port, hostname, () => {
133
+ const server = http.createServer( handleRequest ).listen(port, hostname, () => {
134
134
  console.log(`Server running at http://${hostname}:${port}`);
135
135
  });
136
136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaasvaer/frmwrk",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "My personal Node framework",
5
5
  "main": "index.js",
6
6
  "scripts": {