[Groonga-commit] droonga/droonga.org at 9c29fd9 [gh-pages] Stop specifying Socket.IO server explicitly

Back to archive index

Yoji Shidara null+****@clear*****
Thu Aug 29 12:59:01 JST 2013


Yoji Shidara	2013-08-29 12:59:01 +0900 (Thu, 29 Aug 2013)

  New Revision: 9c29fd977b969edcb9412b8cb3c43a1239c84bbd
  https://github.com/droonga/droonga.org/commit/9c29fd977b969edcb9412b8cb3c43a1239c84bbd

  Merged 5fadeb3: Merge branch 'setup-on-cloud' into gh-pages

  Message:
    Stop specifying Socket.IO server explicitly

  Modified files:
    tutorial/index.md

  Modified: tutorial/index.md (+2 -2)
===================================================================
--- tutorial/index.md    2013-08-29 12:54:19 +0900 (f8dfe54)
+++ tutorial/index.md    2013-08-29 12:59:01 +0900 (dad708f)
@@ -349,7 +349,7 @@ index.html:
       <head>
         <script src="/socket.io/socket.io.js"></script>
         <script>
-          var socket = io.connect('http://localhost:3000');
+          var socket = io.connect();
           socket.on('search.result', function (data) {
             alert(JSON.stringify(data));
           });
@@ -400,7 +400,7 @@ Web ブラウザから Socket.IO 経由でリクエストが frontend に送信
       <head>
         <script src="/socket.io/socket.io.js"></script>
         <script>
-          var socket = io.connect('http://localhost:3000');
+          var socket = io.connect();
           socket.on('search.result', function (data) {
             alert(JSON.stringify(data));
           });
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index