Hal De 4 жил өмнө
parent
commit
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 ''