summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2019-06-17 09:24:33 -0700
committerGitHub <noreply@github.com>2019-06-17 09:24:33 -0700
commit81ef14e81c55d18c6fd988294bd09c29b18a4afd (patch)
tree44534d25b06ed0d956e685c532c6d6e305bb76ef
parentb9797e144c8434654c556477f6f8af28b377ef2d (diff)
parent4cc943d22004495ddf0cb67fb4ece4ee114f0c3e (diff)
Merge pull request #93 from tobsan/topic/allow_local
lavalab-gen.py: add localhost to allowed_hosts
-rwxr-xr-xlavalab-gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py
index 9015e48..0e8c018 100755
--- a/lavalab-gen.py
+++ b/lavalab-gen.py
@@ -14,7 +14,7 @@ tokens_yaml = "tokens.yaml"
baud_default = 115200
ser2net_port_start = 63001
ser2net_ports = {}
-allowed_hosts_list = [ '"127.0.0.1"' ]
+allowed_hosts_list = [ '"127.0.0.1","localhost"' ]
template_conmux = string.Template("""#
# auto-generated by lavalab-gen.py for ${board}