Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,8 @@ 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 |
print("WOA")
|
| 37 |
if type not in MANIFEST['types']:
|
|
|
|
| 31 |
return "Hello, this is my Flask application's root!"
|
| 32 |
|
| 33 |
|
| 34 |
+
@app.route('/stream/<type>/<id>.json'),methods=['GET'])
|
| 35 |
+
print("I AM IN ROUTE")
|
| 36 |
def addon_stream(type, id):
|
| 37 |
print("WOA")
|
| 38 |
if type not in MANIFEST['types']:
|