This commit is contained in:
Piotr Ginał
2023-09-17 22:59:29 +02:00
committed by GitHub
parent 74ef11770b
commit 0113b0e004

View File

@@ -232,7 +232,7 @@ async def startWebService():
PORT = 80 # Port to listen on
print(HOST,PORT)
wsgiServer = server.WSGIServer(80, application=web_app)
wsgiServer = server.WSGIServer(PORT, application=web_app)
print(f"open this IP in your browser: http://{HOST}:{PORT}/")
@@ -240,4 +240,4 @@ async def startWebService():
wsgiServer.start()
while True:
wsgiServer.update_poll()
await asyncio.sleep(0)
await asyncio.sleep(0)