Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,6 +26,11 @@ def respond_with(data):
|
|
| 26 |
def addon_manifest():
|
| 27 |
return respond_with(MANIFEST)
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
@app.route('/stream/<type>/<id>.json')
|
| 30 |
def addon_stream(type, id):
|
| 31 |
if type not in MANIFEST['types']:
|
|
|
|
| 26 |
def addon_manifest():
|
| 27 |
return respond_with(MANIFEST)
|
| 28 |
|
| 29 |
+
@app.route('/')
|
| 30 |
+
def root():
|
| 31 |
+
return "Hello, this is my Flask application's root!"
|
| 32 |
+
|
| 33 |
+
|
| 34 |
@app.route('/stream/<type>/<id>.json')
|
| 35 |
def addon_stream(type, id):
|
| 36 |
if type not in MANIFEST['types']:
|