Akhidjon

commit

dd
\ No newline at end of file
......@@ -77,7 +77,7 @@ app.use(express.static(path.join(__dirname, 'public')));
connection = mysql.createConnection({
host : 'localhost',
user : 'root',
password : 'asd123',
password : '',
port : 3306,
database : 'ytmt'
});
......
File mode changed
......@@ -7,7 +7,7 @@ function addMyToons(id,index,cb){
throw err;
console.log("내 웹툰 추가 중 에러!")
} else {
alert("추가되었습니다.")
//alert("추가되었습니다.")
cb();
}
});
......@@ -28,7 +28,7 @@ router.post('/toggle_toon',function(req,res,next) {
console.log("내 웹툰 제거중 에러!");
throw err;
} else {
alert("제거되었습니다.")
//alert("제거되었습니다.")
res.redirect('/setting');
}
});
......