mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 12:19:51 +01:00
ocd
This commit is contained in:
parent
1d485840fd
commit
acc0e934cb
|
|
@ -20,10 +20,10 @@ app.engine('md', function(path, options, fn){
|
|||
return options[name] || '';
|
||||
})
|
||||
fn(null, html);
|
||||
} catch(e) {
|
||||
fn(e)
|
||||
} catch(err) {
|
||||
fn(err);
|
||||
}
|
||||
})
|
||||
});
|
||||
})
|
||||
|
||||
app.set('views', __dirname + '/views');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user