Skip to content

Commit

Permalink
Merge pull request #108 from smollweide/develop
Browse files Browse the repository at this point in the history
v0.23.4
  • Loading branch information
smollweide committed Jun 21, 2018
2 parents b4707a9 + 03faf4b commit afe8ca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/controller/MockController.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ MockController.prototype = extend(MockController.prototype, {

var path = this._getPath(req.originalUrl, this.options.urlPath, this.options.restPath);
var responseHeaders;
var headers = this.options.headers || {};
var headers = Object.assign({}, this.options.headers);
var options;

if (path.search('favicon.ico') >= 0) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-mock-server",
"version": "0.23.3",
"version": "0.23.4",
"description": "File based Node REST API mock server",
"email": "[email protected]",
"author": "Simon Mollweide <[email protected]>",
Expand Down

0 comments on commit afe8ca6

Please sign in to comment.