瀏覽代碼

Use builds and public connection manager

JC Brand 11 年之前
父節點
當前提交
bf4dfea1af
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      index.html

+ 4 - 2
index.html

@@ -12,9 +12,11 @@
     <link type="text/css" rel="stylesheet" media="screen" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" />
     <link type="text/css" rel="stylesheet" media="screen" href="css/theme.css" />
     <link type="text/css" rel="stylesheet" media="screen" href="css/converse.min.css" />
+    <!--
     <script data-main="main" src="components/requirejs/require.js"></script>
+    -->
+    <script src="builds/converse.min.js"></script>
 
-    <script src="../components/jquery/dist/jquery.min.js"></script>
     <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
     <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
     <script src="js/init.js"></script>
@@ -227,7 +229,7 @@
             allow_otr: true,
             auto_list_rooms: false,
             auto_subscribe: false,
-            bosh_service_url: 'http://devbox:8890/http-bind', // Please use this connection manager only for testing purposes
+            bosh_service_url: 'https://bind.conversejs.org', // Please use this connection manager only for testing purposes
             debug: true ,
             hide_muc_server: false,
             i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported