Skip to content

Commit 5fec996

Browse files
committed
Remove unnecessary logging
1 parent 4c65f5c commit 5fec996

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ const PaintBoardSizeY = 100
1313
const AllowedColors = [0, 1, 2]
1414

1515
let matrix = new Array(PaintBoardSizeY).fill(null).map(() => new Array(PaintBoardSizeX).fill(0))
16-
console.log(matrix)
16+
1717
app.get('/', (req, res) => res.sendFile(__dirname + '/index.html'))
18+
1819
app.get('/board', (req, res) => res.send(matrix.map(column => column.map(x => `${x}`).join('')).join('\n')))
20+
1921
app.post('/paint', (req, res) => {
2022
const x = req.body.x
2123
const y = req.body.y

0 commit comments

Comments
 (0)