Skip to content

Commit

Permalink
Merge pull request #8 from webxl/patch-1
Browse files Browse the repository at this point in the history
Support piping a modified config file
  • Loading branch information
gillbeits committed Feb 4, 2016
2 parents df0b058 + 96f2c95 commit 352dd41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ function fontello (opts) {

needle.post(opts.host, {
config: {
file: file.path,
buffer: file.contents,
filename: 'fontello.json',
content_type: 'application/json'
}
}, { multipart: true }).pipe(stream);
});
}

module.exports = fontello;
module.exports = fontello;

0 comments on commit 352dd41

Please sign in to comment.