FIX: add urlsafe=True (#111)
This commit is contained in:
parent
0fc26d096f
commit
d43a3b196c
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class NostrClient:
|
||||||
async def connect_to_nostrclient_ws(self) -> WebSocketApp:
|
async def connect_to_nostrclient_ws(self) -> WebSocketApp:
|
||||||
logger.debug(f"Connecting to websockets for 'nostrclient' extension...")
|
logger.debug(f"Connecting to websockets for 'nostrclient' extension...")
|
||||||
|
|
||||||
relay_endpoint = encrypt_internal_message("relay")
|
relay_endpoint = encrypt_internal_message("relay", urlsafe=True)
|
||||||
on_open, on_message, on_error, on_close = self._ws_handlers()
|
on_open, on_message, on_error, on_close = self._ws_handlers()
|
||||||
ws = WebSocketApp(
|
ws = WebSocketApp(
|
||||||
f"ws://localhost:{settings.port}/nostrclient/api/v1/{relay_endpoint}",
|
f"ws://localhost:{settings.port}/nostrclient/api/v1/{relay_endpoint}",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue