ws not wss

This commit is contained in:
callebtc 2023-03-21 17:48:49 +01:00
commit d8e742a452

View file

@ -108,7 +108,7 @@ async def on_invoice_paid(payment: Payment):
# wst.join(timeout=1) # wst.join(timeout=1)
ws = WebSocketApp( ws = WebSocketApp(
f"wss://localhost:{settings.port}/nostrclient/api/v1/relay", f"ws://localhost:{settings.port}/nostrclient/api/v1/relay",
on_open=send_event, on_open=send_event,
) )
wst = Thread(target=ws.run_forever) wst = Thread(target=ws.run_forever)