fix log and disable signup

This commit is contained in:
ang-st 2015-04-15 06:40:36 +00:00
parent 56b2d7df11
commit 9a68344b3b
2 changed files with 2 additions and 3 deletions

4
app.js
View File

@ -76,8 +76,8 @@ App.configure('production', function(){
App.get('/', Routes.index); App.get('/', Routes.index);
App.get('/signin', Routes.signIn); App.get('/signin', Routes.signIn);
App.post('/signin', Routes.signInPost); App.post('/signin', Routes.signInPost);
App.get('/signup', Routes.signUp); //App.get('/signup', Routes.signUp);
App.post('/signup', Routes.signUpPost); //App.post('/signup', Routes.signUpPost);
App.get('/signout', Routes.signout) App.get('/signout', Routes.signout)
//App.get('/:name', Routes.view); //App.get('/:name', Routes.view);
App.get('/:name/edit', Routes.edit); App.get('/:name/edit', Routes.edit);

1
db.js
View File

@ -67,7 +67,6 @@ exports.loadPage = function (name, callback) {
//console.log(files[i]) //console.log(files[i])
try{ try{
var html = Markdown(data[i].toString().replace(/\r/g,"")) 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} ) fileObj.push({name : files[i], markdown:data[i].toString(), html:html} )
} }
catch (err){ } catch (err){ }