Browse Source

channel callback

Hal De 4 năm trước cách đây
mục cha
commit
95c43a0787
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/app.py

+ 1 - 1
app/app.py

@@ -317,7 +317,7 @@ async def amiPJSIPShowAuths():
     abort(401)
   return successReply(app.cache['devices'])
 
-@app.route('/blackhole')
+@app.route('/blackhole', methods=['GET','POST'])
 async def blackhole():
   return ''