From 9a68344b3b1a3ca6c6f8d2a18f5a741342a90fd1 Mon Sep 17 00:00:00 2001 From: ang-st Date: Wed, 15 Apr 2015 06:40:36 +0000 Subject: [PATCH] fix log and disable signup --- app.js | 4 ++-- db.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index dd82aa6..6b09ff9 100644 --- a/app.js +++ b/app.js @@ -76,8 +76,8 @@ App.configure('production', function(){ App.get('/', Routes.index); App.get('/signin', Routes.signIn); App.post('/signin', Routes.signInPost); -App.get('/signup', Routes.signUp); -App.post('/signup', Routes.signUpPost); +//App.get('/signup', Routes.signUp); +//App.post('/signup', Routes.signUpPost); App.get('/signout', Routes.signout) //App.get('/:name', Routes.view); App.get('/:name/edit', Routes.edit); diff --git a/db.js b/db.js index 06bd7dc..65c82aa 100644 --- a/db.js +++ b/db.js @@ -67,7 +67,6 @@ exports.loadPage = function (name, callback) { //console.log(files[i]) try{ var html = Markdown(data[i].toString().replace(/\r/g,"")) - console.log(data[i].toString()) fileObj.push({name : files[i], markdown:data[i].toString(), html:html} ) } catch (err){ }