Use generated id in the returned url (#59)

This commit is contained in:
Jonas Finnemann Jensen
2017-12-10 08:35:44 -08:00
committed by Roman Shtylman
parent 48475a404b
commit 2539755155

View File

@@ -285,7 +285,7 @@ module.exports = function(opt) {
return next(err);
}
const url = schema + '://' + req_id + '.' + req.headers.host;
const url = schema + '://' + info.id + '.' + req.headers.host;
info.url = url;
res.json(info);
});