updates to stop it breaking with an empty table

This commit is contained in:
Martin Donnelly 2016-02-24 15:07:47 +00:00
parent 38840ad33a
commit fa8e7bb26d

View File

@ -25,7 +25,7 @@ app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'dist')));
app.use(express.static(path.join(__dirname, 'app')));
app.use('/recipes', recipes);
//app.use('/users', users);