From 36f0e8e4ddea8b8ca1d139e7bd2b1a2326f5a1cb Mon Sep 17 00:00:00 2001 From: Gabriele De Rosa Date: Mon, 12 Dec 2022 00:03:30 +0100 Subject: [PATCH] Fix axios bug Read more: https://github.com/axios/axios/issues/5346 --- daemon/routes/data.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/routes/data.js b/daemon/routes/data.js index d1252a4..0a054b8 100644 --- a/daemon/routes/data.js +++ b/daemon/routes/data.js @@ -14,6 +14,9 @@ module.exports = function(db, io, app, config) { */ function realtime(crypto) { axios.get(config.url + crypto, { + headers: { + "Accept-Encoding": "gzip,deflate,compress" + }, params: { }