Archived
测试
This commit is contained in:
1 file changed
+2
@@ -124,6 +124,8 @@ def index() -> Response:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
import sys
|
||||||
|
logger.info(sys.argv)
|
||||||
logger.info('服务器已在 http://127.0.0.1:5000 运行')
|
logger.info('服务器已在 http://127.0.0.1:5000 运行')
|
||||||
try:
|
try:
|
||||||
server = pywsgi.WSGIServer(('0.0.0.0', 5000), app)
|
server = pywsgi.WSGIServer(('0.0.0.0', 5000), app)
|
||||||
|
|||||||
Reference in New Issue
Block a user