ws not wss
This commit is contained in:
parent
6fb0a47ad4
commit
d8e742a452
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue