Spaces:
Runtime error
Runtime error
WaiYanLynn
commited on
Commit
•
ea95583
1
Parent(s):
ea6cff4
Update src/__init__.py
Browse files- src/__init__.py +4 -0
src/__init__.py
CHANGED
@@ -8,5 +8,9 @@ cors = CORS(app, resources={r"/api/*": {"origins": "*"}})
|
|
8 |
|
9 |
app.register_blueprint(api, url_prefix="/api")
|
10 |
|
|
|
|
|
|
|
|
|
11 |
def create_app():
|
12 |
return app
|
|
|
8 |
|
9 |
app.register_blueprint(api, url_prefix="/api")
|
10 |
|
11 |
+
app.route('/')
|
12 |
+
def index():
|
13 |
+
return 'ok'
|
14 |
+
|
15 |
def create_app():
|
16 |
return app
|