refactor(electron): start gateway on port 6473 when launching ipfs

This commit is contained in:
Esteban Abaroa
2024-02-02 15:08:55 +00:00
parent e3804e3533
commit 7b25b46148

View File

@@ -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,
});