ACCA225 commited on
Commit
5262e8f
1 Parent(s): ad98c21

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -1
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}/'