new server frame

This commit is contained in:
zjt 2023-10-22 09:15:54 +08:00
parent 93f38c4f85
commit dad5200040

View File

@ -48,5 +48,5 @@ def index():
return 'Content-Type not supported!'
app.run(port=2020, host="127.0.0.1", debug=True)
print('server starts working')
server = pywsgi.WSGIServer(('127.0.0.1', 80), app)
server.serve_forever()