diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-07-21 17:59:21 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-07-21 17:59:21 +0530 |
commit | d0fa20751e07651cc4431418041ceab8b8065078 (patch) | |
tree | 1b8dd2a641d60bd36a528fa9e5a38ecc931da398 /src/server | |
parent | e63a518433fe636596d5b61631f906af186341ea (diff) |
Bug Fix: score doesn't increase on draw
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/index.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/index.js b/src/server/index.js new file mode 100644 index 0000000..2b85ea5 --- /dev/null +++ b/src/server/index.js @@ -0,0 +1,11 @@ +const express = require('express'); +const path = require('path'); +const app = express(); + +app.use(express.static(path.join(__dirname, '../../build'))); + +// Start the server +const PORT = process.env.PORT || 5000; +app.listen(PORT, () => { + console.log(`App listening on port ${PORT}`); +}); |