Akhidjon

commit

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