From 91b9f64daab4b3889e073da7423d5807361c6ada Mon Sep 17 00:00:00 2001 From: syeopite <70992037+syeopite@users.noreply.github.com> Date: Sat, 22 May 2021 05:59:28 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 +``` From 8257081004924b098c482cb32363405591bf43e8 Mon Sep 17 00:00:00 2001 From: syeopite <70992037+syeopite@users.noreply.github.com> Date: Sat, 22 May 2021 06:10:51 -0700 Subject: [PATCH 2/2] Update main.py Change default port --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6631bbe..b75c69f 100644 --- a/main.py +++ b/main.py @@ -23,7 +23,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()