Delete routes files
parent
2a33385f4d
commit
c6ffd03ef9
|
@ -1,5 +0,0 @@
|
||||||
const postsRoutes = require('./posts');
|
|
||||||
|
|
||||||
module.exports = function(app, db) {
|
|
||||||
postsRoutes(app);
|
|
||||||
};
|
|
|
@ -1,6 +0,0 @@
|
||||||
module.exports = function(app) {
|
|
||||||
app.get('/posts', (req, res) => {
|
|
||||||
// You'll create your note here.
|
|
||||||
res.send('Hello')
|
|
||||||
});
|
|
||||||
}
|
|
Loading…
Reference in New Issue