diff options
author | Tobias Olausson <tol@hms.se> | 2019-06-10 17:59:35 +0200 |
---|---|---|
committer | Tobias Olausson <tol@hms.se> | 2019-06-10 17:59:35 +0200 |
commit | 4cc943d22004495ddf0cb67fb4ece4ee114f0c3e (patch) | |
tree | 44534d25b06ed0d956e685c532c6d6e305bb76ef | |
parent | b9797e144c8434654c556477f6f8af28b377ef2d (diff) |
lavalab-gen.py: add localhost to allowed_hosts
The README mentions using localhost in the quickstart guide, but it
doesn't work if only 127.0.0.1 is in that list.
-rwxr-xr-x | lavalab-gen.py | 2 |
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} |