Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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://
|
9 |
|
10 |
# Set up environment variables for the proxy
|
11 |
-
os.environ['http_proxy'] = 'http://
|
12 |
-
os.environ['https_proxy'] = 'http://
|
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():
|