Mercurial > libervia-backend
view src/tmp/README @ 2259:f51315500eb1
core: added hosts_dict handling in general config:
A way to force host was already available through hosts_dict, but for Android only in [android] section. It has now be moved in general conf as it can be useful in other cases, and improved to handle port too.
This way if something like this is present in sat.conf:
[DEFAULT]
hosts_dict = {"example.net": {"host": "127.0.0.1", "port": 7777}}
these values will be used and DNS check will be bypassed. A string can also be used for values, in this case only host is changed.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 19 Jun 2017 09:36:55 +0200 |
parents | 9141bde7ff31 |
children |
line wrap: on
line source
Use this module to temporary store files that need to be integrated to other projects such as Wokkel. For example, the changeset that introduced this folder adds RSM (XEP-0059) support to Wokkel. The files in sat.tmp.wokkel are imported over the initial wokkel files from sat.plugins.__init__.py