mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
Use generated id in the returned url (#59)
This commit is contained in:
committed by
Roman Shtylman
parent
48475a404b
commit
2539755155
@@ -285,7 +285,7 @@ module.exports = function(opt) {
|
|||||||
return next(err);
|
return next(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = schema + '://' + req_id + '.' + req.headers.host;
|
const url = schema + '://' + info.id + '.' + req.headers.host;
|
||||||
info.url = url;
|
info.url = url;
|
||||||
res.json(info);
|
res.json(info);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user