split up game code using new es5 syntax or whatever
This commit is contained in:
parent
b237b857c7
commit
506e6be65d
5 changed files with 93 additions and 82 deletions
2
index.js
2
index.js
|
@ -4,6 +4,8 @@ import expressW from "express-ws";
|
|||
var app = express();
|
||||
expressW(app);
|
||||
|
||||
|
||||
app.use('/js',express.static('./common'));
|
||||
app.use(express.static('./static'));
|
||||
|
||||
app.ws('/', function (ws, req) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue