mirror of
https://github.com/dap-ps/discover.git
synced 2025-01-31 03:26:13 +00:00
don't save images with full URL, just path is enough
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
bf8b9bcbad
commit
54a4c1ddc2
@ -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…
x
Reference in New Issue
Block a user