From d088c2d0a917408a3346fec5330f5f1b61eabd72 Mon Sep 17 00:00:00 2001 From: deardrops Date: Tue, 11 Apr 2017 10:01:28 +0800 Subject: [PATCH] improve README.mdd --- README.md | 2 +- test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ef98c8..4b70586 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ WEBXOSS server can be runned in a browser tab, typically for easier debugging. In this case, nodejs isn't needed. Just serve this project using `nginx`, `apache` or anything else. -Then, open `http://localhost/path/to/your/project/test.html`. The browser tab you just opened is a real WEBXOSS server. You can open console to see what's inside it. +Then, open `127.0.0.1` (map to `webxoss-core` folder). The browser tab you just opened is a real WEBXOSS server. You can open console to see what's inside it. Note: diff --git a/test.js b/test.js index 7bf6ef5..d7b8461 100644 --- a/test.js +++ b/test.js @@ -47,7 +47,7 @@ if (!noStaticServe) { } }); server.listen(port); - console.log('server listen on 127.0.0.1:' + port); + console.log('listen to 127.0.0.1:' + port); } // game server var getArg = function(key) {