Add support for matching from Youtube urls
This commit is contained in:
parent
7d3173c57e
commit
599e9b0850
12 changed files with 130 additions and 14 deletions
2
app.js
2
app.js
|
@ -105,7 +105,7 @@ app.use(function(req, res, next) {
|
|||
// will print stacktrace
|
||||
if (app.get('env') === 'development') {
|
||||
app.use(function(err, req, res, next) {
|
||||
console.log(err)
|
||||
console.log(err.stack)
|
||||
res.status(err.status || 500);
|
||||
|
||||
var content = React.renderToString(ErrorView({status: err.status || 500, message: err.message, error: err}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue