This commit is contained in:
syeopite 2021-05-22 15:25:56 -07:00
commit a972722fdb
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,7 @@
# [WIP] Quic proxy built in Python for the Invidious project. # [WIP] Quic proxy built in Python for the Invidious project.
##Usage ## Usage
All requests is done through POST. A data content of All requests is done through POST. A data content of
<br> <br>
```sh ```sh
@ -16,4 +17,4 @@ The port and address can be changed in config.toml, located in the default OS co
```toml ```toml
host = "0.0.0.0" host = "0.0.0.0"
port = 7192 port = 7192
``` ```

View file

@ -24,7 +24,7 @@ CONFIG_FILE.touch(exist_ok=True)
with open(f"{CONFIG_FILE}") as config: with open(f"{CONFIG_FILE}") as config:
config = pytomlpp.loads(config.read()) config = pytomlpp.loads(config.read())
if not config: if not config:
config = {"port": 8080, "host": "0.0.0.0"} config = {"port": 7192, "host": "0.0.0.0"}
routes = web.RouteTableDef() routes = web.RouteTableDef()