added config option for using LAN transport

This commit is contained in:
Kevin Froman 2020-03-16 02:51:47 -05:00
parent 3aec35ef33
commit 9575352e3e
2 changed files with 6 additions and 3 deletions

View File

@ -164,8 +164,10 @@ def daemon():
events.event('init', threaded=False) events.event('init', threaded=False)
events.event('daemon_start') events.event('daemon_start')
Thread(target=LANServer(shared_state).start_server, daemon=True).start() if config.get('transports.lan', True):
LANManager(shared_state).start() Thread(target=LANServer(shared_state).start_server,
daemon=True).start()
LANManager(shared_state).start()
communicator.startCommunicator(shared_state) communicator.startCommunicator(shared_state)
clean_ephemeral_services() clean_ephemeral_services()

View File

@ -65,7 +65,8 @@
}, },
"transports": { "transports": {
"manual_disk": true, "manual_disk": true,
"tor": true "tor": true,
"lan": true
}, },
"ui": { "ui": {
"theme": "dark" "theme": "dark"