Use generated id in the returned url, if in use

This commit is contained in:
Jonas Finnemann Jensen
2017-03-18 15:16:29 -07:00
committed by GitHub
parent 48475a404b
commit a9e2cda440
+1 -1
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);
});