Skip to content

Commit

Permalink
update to give url as well
Browse files Browse the repository at this point in the history
  • Loading branch information
nijikokun committed Jun 19, 2013
1 parent cdb4a07 commit f05d06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ascii.write("guardian", "Thick", function (art) {
RedisClient.set(id, JSON.stringify(opts), redis.print);
RedisClient.expire(id, 60);

res.jsonp({ hash: id });
res.jsonp({ hash: id, url: config.protocol + '://' + config.host + '/start?hash=' + id });
});

app.get('/hash-check', function (req, res) {
Expand Down

0 comments on commit f05d06a

Please sign in to comment.