mirror of
https://gitlab.silvrtree.co.uk/martind2000/recipes.git
synced 2025-02-10 20:09:17 +00:00
updates to stop it breaking with an empty table
This commit is contained in:
parent
38840ad33a
commit
fa8e7bb26d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user