浏览代码

channel callback

Hal De 4 年之前
父节点
当前提交
95c43a0787
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 ''