1
0
Fork 0

improve README.mdd

This commit is contained in:
deardrops 2017-04-11 10:01:28 +08:00 committed by WEBXOSS
parent e1f2cee2c8
commit d088c2d0a9
2 changed files with 2 additions and 2 deletions

View file

@ -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. 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: Note:

View file

@ -47,7 +47,7 @@ if (!noStaticServe) {
} }
}); });
server.listen(port); server.listen(port);
console.log('server listen on 127.0.0.1:' + port); console.log('listen to 127.0.0.1:' + port);
} }
// game server // game server
var getArg = function(key) { var getArg = function(key) {