Przeglądaj źródła

remove hello world

cube 6 dni temu
rodzic
commit
2f499674ff
1 zmienionych plików z 0 dodań i 5 usunięć
  1. 0
    5
      myriad/__init__.py

+ 0
- 5
myriad/__init__.py Wyświetl plik

20
 
20
 
21
     # ensure the instance folder exists
21
     # ensure the instance folder exists
22
     os.makedirs(app.instance_path, exist_ok=True)
22
     os.makedirs(app.instance_path, exist_ok=True)
23
-
24
-    # a simple page that says hello
25
-    @app.route('/hello')
26
-    def hello():
27
-        return 'Hello, World!'
28
     
23
     
29
     from . import db
24
     from . import db
30
     db.init_app(app)
25
     db.init_app(app)