From 7b25b46148317659f10d2eab0ded9abd9031a484 Mon Sep 17 00:00:00 2001 From: Esteban Abaroa Date: Fri, 2 Feb 2024 15:08:55 +0000 Subject: [PATCH] refactor(electron): start gateway on port 6473 when launching ipfs --- electron/start-ipfs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/start-ipfs.js b/electron/start-ipfs.js index 3b8a1912..63e7f79d 100644 --- a/electron/start-ipfs.js +++ b/electron/start-ipfs.js @@ -60,7 +60,7 @@ const startIpfs = async () => { } catch (e) {} // dont use 8080 port because it's too common - await spawnAsync(ipfsPath, ['config', '--json', 'Addresses.Gateway', 'null'], { + await spawnAsync(ipfsPath, ['config', '--json', 'Addresses.Gateway', '"/ip4/127.0.0.1/tcp/6473"'], { env, hideWindows: true, });