fix log and disable signup
This commit is contained in:
parent
56b2d7df11
commit
9a68344b3b
4
app.js
4
app.js
@ -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
1
db.js
@ -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){ }
|
||||||
|
Loading…
Reference in New Issue
Block a user