don't expose on all interfaces by default
This commit is contained in:
2
web.py
2
web.py
@@ -1329,7 +1329,7 @@ def main():
|
|||||||
|
|
||||||
# parse command line args
|
# parse command line args
|
||||||
parser = argparse.ArgumentParser(description="ReticulumWebChat")
|
parser = argparse.ArgumentParser(description="ReticulumWebChat")
|
||||||
parser.add_argument("--host", nargs='?', default="0.0.0.0", type=str, help="The address the web server should listen on.")
|
parser.add_argument("--host", nargs='?', default="127.0.0.1", type=str, help="The address the web server should listen on.")
|
||||||
parser.add_argument("--port", nargs='?', default="8000", type=int, help="The port the web server should listen on.")
|
parser.add_argument("--port", nargs='?', default="8000", type=int, help="The port the web server should listen on.")
|
||||||
parser.add_argument("--headless", action='store_true', help="Web browser will not automatically launch when this flag is passed.")
|
parser.add_argument("--headless", action='store_true', help="Web browser will not automatically launch when this flag is passed.")
|
||||||
parser.add_argument("--identity-file", type=str, help="Path to a Reticulum Identity file to use as your LXMF address.")
|
parser.add_argument("--identity-file", type=str, help="Path to a Reticulum Identity file to use as your LXMF address.")
|
||||||
|
|||||||
Reference in New Issue
Block a user