YUKI Hiroshi
null+****@clear*****
Tue Sep 10 16:30:59 JST 2013
YUKI Hiroshi 2013-09-10 16:30:59 +0900 (Tue, 10 Sep 2013) New Revision: 94c231fb2fa92cb60fd23f566d1ad8bd1af6ab4b https://github.com/droonga/droonga.org/commit/94c231fb2fa92cb60fd23f566d1ad8bd1af6ab4b Message: Highligh inserted section of the sample code Modified files: tutorial/index.md Modified: tutorial/index.md (+2 -0) =================================================================== --- tutorial/index.md 2013-09-10 16:19:39 +0900 (97fa575) +++ tutorial/index.md 2013-09-10 16:30:59 +0900 (af8e94a) @@ -463,9 +463,11 @@ frontend.js: server: server // this is required to initialize Socket.IO API! }); + //========== 追加箇所ここから ========== application.get('/', function(req, res) { res.sendfile(__dirname + '/index.html'); }); + //========== 追加箇所ここまで ========== Web ブラウザにサーバの IP アドレスを入れて、リクエストを送信してみましょう。 以降、サーバの IP アドレスが `192.0.2.1` であったとします。 -------------- next part -------------- HTML����������������������������... Download