diff --git a/backend/src/index.ts b/backend/src/index.ts index 96961affb..f6615d1c8 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -229,6 +229,16 @@ class Server { res.status(500).end(); } }) + .get(config.MEMPOOL.API_URL_PREFIX + 'translators/images/:id', async (req, res) => { + try { + const response = await axios.get('https://mempool.space/api/v1/translators/images/' + req.params.id, { + responseType: 'stream', timeout: 10000 + }); + response.data.pipe(res); + } catch (e) { + res.status(500).end(); + } + }) ; if (config.STATISTICS.ENABLED && config.DATABASE.ENABLED) { diff --git a/frontend/src/app/components/about/about.component.html b/frontend/src/app/components/about/about.component.html index d034c90a5..6f2cdec36 100644 --- a/frontend/src/app/components/about/about.component.html +++ b/frontend/src/app/components/about/about.component.html @@ -165,16 +165,17 @@ -
+ +