git ssb

16+

Dominic / patchbay



Commit 4e7982f745d702f29aca19ba8c0f9eb788c82493

Enable unix if not set in config

Anders Rune Jensen committed on 9/11/2018, 6:31:06 PM
Parent: 9bc7104bf09e5e5467fddc99131c2a896a5f65ef

Files changed

config.jschanged
config.jsView
@@ -16,9 +16,11 @@
1616 console.log('LOADING config')
1717 config = Config(appName, opts)
1818 config.keys = ssbKeys.loadOrCreateSync(Path.join(config.path, 'secret'))
1919
20- // HACK: fix offline on windows by specifying 127.0.0.1 instead of localhost (default)
20 + if (!config.connections.incoming.unix)
21 + config.connections.incoming.unix = [{ "scope": "local", "transform": "noauth" }]
22 +
2123 config.remote = `unix:${Path.join(config.path, 'socket')}:~noauth:${config.keys.id.slice(1).replace('.ed25519', '')}`
2224 }
2325 return config
2426 })

Built with git-ssb-web