This commit is contained in:
MarkusJoe
2022-02-16 16:59:49 +08:00
parent 5b44d5330c
commit c46a3677c0
1 file changed
+2
+2
View File
@@ -124,6 +124,8 @@ def index() -> Response:
if __name__ == '__main__':
import sys
logger.info(sys.argv)
logger.info('服务器已在 http://127.0.0.1:5000 运行')
try:
server = pywsgi.WSGIServer(('0.0.0.0', 5000), app)