Pārlūkot izejas kodu

channel callback

Hal De 4 gadi atpakaļ
vecāks
revīzija
95c43a0787
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 ''