소스 검색

修改默认返回

xueyiming 9 달 전
부모
커밋
8fa9b563e2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app.py

+ 2 - 2
app.py

@@ -17,8 +17,8 @@ def create_app():
     init_app()
 
     @app.route('/')
-    def hello_world():  # put application's code here
-        return 'Hello World!'
+    def index():  # put application's code here
+        return 'OK'
 
     @app.route('/recognize/url', methods=['POST'])
     def recognize_url():