Improve CLI

This commit is contained in:
Andras Schmelczer 2022-07-08 13:27:25 +02:00
parent 65ec6d6f9b
commit c2d2bf49f1
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
3 changed files with 15 additions and 7 deletions

View file

@ -12,7 +12,7 @@ def parse_arguments() -> Namespace:
help="the name of the file containing your to-be-served function such as `main.py`\n",
)
default_host = "0.0.0.0"
default_host = "127.0.0.1"
parser.add_argument(
"--host",
type=str,