diff --git a/README.md b/README.md index 6e8a311..f2fecef 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # [WIP] Quic proxy built in Python for the Invidious project. -##Usage +## Usage + All requests is done through POST. A data content of
```sh @@ -16,4 +17,4 @@ The port and address can be changed in config.toml, located in the default OS co ```toml host = "0.0.0.0" port = 7192 -``` \ No newline at end of file +``` diff --git a/main.py b/main.py index e1a1ef4..452fa5b 100644 --- a/main.py +++ b/main.py @@ -24,7 +24,7 @@ CONFIG_FILE.touch(exist_ok=True) with open(f"{CONFIG_FILE}") as config: config = pytomlpp.loads(config.read()) if not config: - config = {"port": 8080, "host": "0.0.0.0"} + config = {"port": 7192, "host": "0.0.0.0"} routes = web.RouteTableDef()