Skip to content

Commit c7fcfe7

Browse files
committed
Use /websocket as the default WebSocket path in URL
1 parent 4243222 commit c7fcfe7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/admin/configuration/listen.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ listen:
371371
port: 5280
372372
module: ejabberd_http
373373
request_handlers:
374-
/xmpp: ejabberd_http_ws
374+
/websocket: ejabberd_http_ws
375375
```
376376

377377
This module can be configured using those top-level options:
@@ -383,7 +383,7 @@ This module can be configured using those top-level options:
383383
#### WebSocket Discovery
384384

385385
With the example configuration previously mentioned,
386-
the WebSocket URL would be: `ws://localhost:5280/xmpp`
386+
the WebSocket URL would be: `ws://localhost:5280/websocket`
387387

388388
You may want to provide a `host-meta` file so clients can
389389
easily discover WebSocket service for your XMPP domain

0 commit comments

Comments
 (0)