Mythus commited on
Commit
b835a1b
·
verified ·
1 Parent(s): 4d7d78e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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']: