Fix docs example on how to use the shared worker
This commit is contained in:
parent
6494b34da3
commit
3004d7bff5
1
dev.html
1
dev.html
|
@ -42,6 +42,7 @@
|
|||
websocket_url: 'wss://conversejs.org/xmpp-websocket',
|
||||
// websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
|
||||
whitelisted_plugins: ['converse-debug'],
|
||||
connection_options: { worker: '/dist/shared-connection-worker.js' }
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -693,7 +693,7 @@ appear in another.
|
|||
.. code-block:: javascript
|
||||
|
||||
converse.initialize({
|
||||
connection_options: { 'worker': true }
|
||||
connection_options: { worker: '/dist/shared-connection-worker.js' }
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user