Fix docs example on how to use the shared worker

This commit is contained in:
JC Brand 2022-12-28 10:12:52 +01:00
parent 6494b34da3
commit 3004d7bff5
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -693,7 +693,7 @@ appear in another.
.. code-block:: javascript
converse.initialize({
connection_options: { 'worker': true }
connection_options: { worker: '/dist/shared-connection-worker.js' }
});