未验证 提交 6fe6cf64 编写于 作者: 走神的阿圆's avatar 走神的阿圆 提交者: GitHub

delete serving index.html (#802)

上级 aef60376
......@@ -318,7 +318,9 @@ def create_app(init_flag=False, configs=None):
@app_instance.route("/", methods=["GET", "POST"])
def index():
return render_template("main.html")
return '暂不提供可视化界面,请直接使用脚本进行请求。<br/>No visual ' \
'interface is provided for the time being, please use the' \
' python script to make a request directly.'
@app_instance.before_request
def before_request():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册