Archived
测试
This commit is contained in:
1 file changed
+1
-2
@@ -125,12 +125,11 @@ def index() -> Response:
|
||||
|
||||
@app.route('/arg')
|
||||
def arg():
|
||||
import sys
|
||||
return {'data': sys.argv}
|
||||
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user