Merge pull request #317 from plebbit/master

Development
This commit is contained in:
Tom (plebeius.eth)
2024-02-27 18:00:19 +01:00
committed by GitHub
5 changed files with 6 additions and 1 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

After

Width:  |  Height:  |  Size: 406 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

After

Width:  |  Height:  |  Size: 406 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 238 KiB

+6 -1
View File
@@ -54,8 +54,13 @@ const startIpfs = async () => {
await spawnAsync(ipfsPath, ['init'], { env, hideWindows: true });
} catch (e) {}
// make sure repo is migrated
try {
await spawnAsync(ipfsPath, ['repo', 'migrate'], { env, hideWindows: true });
} 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,
});
Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB