From 7e4a01360e3289cbb9016a1e6aa59ab68f25dd1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E6=99=93=E6=99=B4?= <37541680+Suxiaoqinx@users.noreply.github.com> Date: Fri, 21 Apr 2023 10:24:19 +0800 Subject: [PATCH] Update song_v1.py --- song_v1.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/song_v1.py b/song_v1.py index 7a6bcdb..ce765c5 100644 --- a/song_v1.py +++ b/song_v1.py @@ -80,11 +80,6 @@ def read_cookie(): app = Flask(__name__) -@app.route('/') - -def index(): - return render_template('index.html', title='Hello world!') - @app.route('/Song_V1') def Song_v1(): @@ -158,4 +153,4 @@ def Song_v1(): return json.dumps(data, indent=4, ensure_ascii=False) if __name__ == '__main__': - app.run(debug=False,port=5000) # 默认调试模式为False关闭 端口默认为5000 \ No newline at end of file + app.run(debug=False,port=5000) # 默认调试模式为False关闭 端口默认为5000