projects
/
empires-server
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad71b2b
)
fixup errant newline
author
Carl Worth
<cworth@cworth.org>
Sun, 26 Apr 2020 22:29:52 +0000
(15:29 -0700)
committer
Carl Worth
<cworth@cworth.org>
Sun, 26 Apr 2020 22:29:52 +0000
(15:29 -0700)
server.js
patch
|
blob
|
history
diff --git
a/server.js
b/server.js
index b657798ae2fcf81284f7c4b009322d291347b9c6..7b95a6bff7961f93508efe282fc89b87abc7d533 100644
(file)
--- a/
server.js
+++ b/
server.js
@@
-16,7
+16,6
@@
app.get('/players', function (request, response) {
response.send(players);
});
-
app.post('/register', function (request, response) {
players.push({name: request.body.name,
character: request.body.character});