Update app2.py
Browse files
app2.py
CHANGED
@@ -167,7 +167,7 @@ def check_service(host, port):
|
|
167 |
except socket.error:
|
168 |
return False
|
169 |
def localProxy():
|
170 |
-
os.system('apt install nginx -y')
|
171 |
|
172 |
_proxy_path['/'] = f'http://127.0.0.1:{_server_port+1}/'
|
173 |
_proxy_path['/1/'] = f'http://127.0.0.1:{_server_port+2}/'
|
|
|
167 |
except socket.error:
|
168 |
return False
|
169 |
def localProxy():
|
170 |
+
os.system('sudo apt install nginx -y')
|
171 |
|
172 |
_proxy_path['/'] = f'http://127.0.0.1:{_server_port+1}/'
|
173 |
_proxy_path['/1/'] = f'http://127.0.0.1:{_server_port+2}/'
|