diff --git a/server.js b/server.js index e812b00..0de6d50 100644 --- a/server.js +++ b/server.js @@ -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); });