mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
small readme fixes
This commit is contained in:
@@ -6,7 +6,7 @@ Fast and simple to setup mtproto proxy.
|
||||
|
||||
1. `git clone -b stable https://github.com/alexbers/mtprotoproxy.git; cd mtprotoproxy`
|
||||
2. *(optional, recommended)* edit *config.py*, set **PORT**, **USERS** and **AD_TAG**
|
||||
3. `docker-compose up --build -d` (or just `python3 mtprotoproxy.py` if you don't like docker)
|
||||
3. `docker-compose up -d` (or just `python3 mtprotoproxy.py` if you don't like Docker)
|
||||
4. *(optional, shows telegram link to set the proxy)* `docker-compose logs`
|
||||
|
||||
## Channel Advertising ##
|
||||
|
||||
@@ -1751,7 +1751,7 @@ def print_tg_info():
|
||||
msg = "The default secret {} is used, this is not recommended".format(secret)
|
||||
print(msg, flush=True)
|
||||
random_secret = "".join(random.choice("0123456789abcdef") for i in range(32))
|
||||
print("You can use this random secret instead:", random_secret, flush=True)
|
||||
print("You can change it to this random secret:", random_secret, flush=True)
|
||||
print_default_warning = True
|
||||
|
||||
if config.TLS_DOMAIN == "www.google.com":
|
||||
|
||||
Reference in New Issue
Block a user