From ae799cf4d5e3fa9270682ffaf7492d172ed6fffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=9D=E5=B7=9D?= Date: Tue, 1 Mar 2022 11:28:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app.py b/app.py index 7c16d3c..862d9c5 100644 --- a/app.py +++ b/app.py @@ -19,5 +19,10 @@ app.register_blueprint(company_route, url_prefix='/app/company') app.register_blueprint(esg_route, url_prefix='/app/esg') +@app.route('/app/version') +def hello_world(): + return 'WideRating TFSE BackEnd v0.2' + + if __name__ == '__main__': app.run()