From d8a98864420e05569b581af15f8f194e4011e037 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Thu, 11 Jul 2019 22:24:51 +0200 Subject: [PATCH] Use local default IPFS gateway Same as for ipfs.kosmos.org, this turns document fetches into GET requests, which will be cached. --- config/environment.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environment.js b/config/environment.js index 71846a6..ecf913b 100644 --- a/config/environment.js +++ b/config/environment.js @@ -56,7 +56,8 @@ module.exports = function(environment) { ENV.ipfs = { host: 'localhost', port: '5001', - protocol: 'http' + protocol: 'http', + gatewayUrl: 'http://localhost:8080/ipfs' }; }