Dooratre commited on
Commit
d444343
·
verified ·
1 Parent(s): 6f2c4b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,11 +5,11 @@ import socket
5
  import os
6
 
7
  # Set up the proxy if required
8
- apihelper.proxy = {'http': 'http://0.0.0.0:7860'}
9
 
10
  # Set up environment variables for the proxy
11
- os.environ['http_proxy'] = 'http://0.0.0.0:7860'
12
- os.environ['https_proxy'] = 'http://0.0.0.0:7860'
13
 
14
  # Function to set custom DNS
15
  def set_custom_dns():
 
5
  import os
6
 
7
  # Set up the proxy if required
8
+ apihelper.proxy = {'http': 'http://api.telegram.org:443'}
9
 
10
  # Set up environment variables for the proxy
11
+ os.environ['http_proxy'] = 'http://api.telegram.org:443'
12
+ os.environ['https_proxy'] = 'http://api.telegram.org:443'
13
 
14
  # Function to set custom DNS
15
  def set_custom_dns():