Explorar o código

channel callback

Hal De %!s(int64=4) %!d(string=hai) anos
pai
achega
95c43a0787
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ''