wsify icon indicating copy to clipboard operation
wsify copied to clipboard

how to use webhook?

Open shinnlu opened this issue 5 years ago • 3 comments

when i run:wsify --events="", everything goes correct but after i run:wsify, i can't connect to wsify anymore.

shinnlu avatar Apr 25 '19 14:04 shinnlu

when you start wsify webhook default is http://localhost:8000 if you didnt have proper webhook on localhost:8000 you cant connect.

eislambey avatar Apr 26 '19 09:04 eislambey

@shinnlu

wsify --events="" means that you don't need wsify to send an event to your webhook, when removing --events="" then, wsify uses the default setting which can be viewed by running wsify --help, in that case, as @eislambey mentioned, you must set a proper webhook so wsify can pass/reject connections based on that webhook response.

alash3al avatar Apr 26 '19 12:04 alash3al

thanks for reply, but how could i set webhook to allow/disallow users.

shinnlu avatar Apr 26 '19 13:04 shinnlu