mirror of https://github.com/dap-ps/discover.git
don't save images with full URL, just path is enough (#56)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
db3535733d
commit
60f14bb2f3
|
@ -24,7 +24,7 @@ class DAppImageService {
|
|||
}
|
||||
|
||||
const buildImageUrl = function (req, imageHash) {
|
||||
return `${req.protocol}://${req.headers.host}${req.originalUrl}/image/${imageHash}`;
|
||||
return `/metadata/image/${imageHash}`;
|
||||
}
|
||||
|
||||
module.exports = DAppImageService;
|
||||
|
|
Loading…
Reference in New Issue