Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
rewrite to use graphicsmagick
Browse files Browse the repository at this point in the history
  • Loading branch information
ifahrentholz committed Dec 16, 2015
2 parents e364c56 + 739aa34 commit 579ddf9
Show file tree
Hide file tree
Showing 5 changed files with 409 additions and 411 deletions.
Empty file modified bin/www
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion lib/controllers/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = function (app) {
app.get("/" + App.settings.namespace + "/:dimension.:contentType", function (req, res, next) {
var p = req.params;
var q = req.query;

var options = extend({}, App.settings, {
fontSize: q.fontSize,
fontColor: q.fontColor,
Expand Down
2 changes: 1 addition & 1 deletion lib/controllers/test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = function (app) {
app.get("/" + App.serviceName + "/test", function (req, res, next) {
app.get("/" + App.settings.namespace + "/test", function (req, res, next) {
res.render("test/index");
});
};
1 change: 0 additions & 1 deletion lib/services/image-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ module.exports = {
callback(null, buffer);
});
}

};
Loading

0 comments on commit 579ddf9

Please sign in to comment.