From d0fa20751e07651cc4431418041ceab8b8065078 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Wed, 21 Jul 2021 17:59:21 +0530 Subject: Bug Fix: score doesn't increase on draw --- src/server/index.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/server/index.js (limited to 'src/server') 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}`); +}); -- cgit v1.2.3