Skip to content

Commit 597bc8c

Browse files
committed
removing useless console.log
1 parent 89d6e65 commit 597bc8c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

public/javascripts/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ async function before_submit_article() {
6767
})
6868
const res = await req.json()
6969

70-
console.log(res)
71-
7270
if (req.status === 200) {
7371
close_add_article()
7472
window.location.reload(true)

routes/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ router.post('/signup', async (req, res) => {
5050
if (NeededParams.filter(p => p in req.body).length === NeededParams.length) {
5151
const rows = await db.select("users", val => val.name === req.body.username)
5252

53-
console.log(rows)
54-
5553
if (rows.length === 0 && req.body.username !== "_base") {
5654
await db.insert("users", {
5755
name: req.body.username,

0 commit comments

Comments
 (0)