From deabcdaca917881feb33edfda159c7e89051eca5 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 13 Aug 2018 11:40:14 +0200 Subject: [PATCH] remove User Agent Remix --- src/app/compiler/compiler-imports.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/compiler/compiler-imports.js b/src/app/compiler/compiler-imports.js index afd2e91c4f..9be0ea60f4 100644 --- a/src/app/compiler/compiler-imports.js +++ b/src/app/compiler/compiler-imports.js @@ -40,10 +40,7 @@ module.exports = class CompilerImports { return request.get( { - url: 'https://gateway.ipfs.io/' + url, - headers: { - 'User-Agent': 'Remix' - } + url: 'https://gateway.ipfs.io/' + url }, (err, r, data) => { if (err) {