JC Brand пре 2 месеци
родитељ
комит
17d2333113
2 измењених фајлова са 6 додато и 8 уклоњено
  1. 4 5
      dev.html
  2. 2 3
      docs/source/quickstart.rst

+ 4 - 5
dev.html

@@ -26,22 +26,21 @@
     });
 
     converse.initialize({
-        i18n: 'af',
+        i18n: 'en',
         theme: 'nordic',
         dark_theme: 'dracula',
         auto_away: 300,
-        enable_smacks: true,
         loglevel: 'debug',
         show_background: true,
         message_archiving: 'always',
-        muc_respect_autojoin: true,
         muc_show_logs_before_join: true,
         notify_all_room_messages: ['discuss@conference.conversejs.org'],
         fetch_url_headers: true,
-        websocket_url: 'wss://conversejs.org/xmpp-websocket',
+        whitelisted_plugins: ['converse-debug'],
+        bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
         // view_mode: 'overlayed',
+        // 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>

+ 2 - 3
docs/source/quickstart.rst

@@ -74,13 +74,12 @@ For custom builds and development:
 2. Run ``npm install`` to install dependencies
 3. Run ``npm run build`` to build distribution files to the ``./dist`` folder
 4. Run ``npm run serve -- -p 8008`` to start a local server at port ``8008``.
-
-You can then access Converse at http://localhost:8008 in your browser.
+5. You can now access Converse at http://localhost:8008/dev.html in your browser.
 
 See the :ref:`creating_builds` section for detailed build instructions and customization options.
 
 .. tip::
-    If you have GNU Make installed, you can just run ``make watch``, to do all the above steps automatically.
+    If you have GNU Make installed, you can run ``make watch``, to do all the above steps automatically.
 
 
 Initializing Converse