Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1x 1x 1x 1x 1x 1x 1x 1x 1x | const express = require('express');
const path = require('path');
const app = express();
const port = process.env.PORT || 3000;
app.use(express.static(path.join(__dirname, 'public')));
app.get('/health', (req, res) => {
res.status(200).send('OK');
});
Iif (require.main === module) {
app.listen(port, () => {
console.log(`TicTacToe running on port ${port}`);
});
}
module.exports = app;
|