mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-28 13:47:43 +02:00
Update
This commit is contained in:
parent
b72dfc474e
commit
aff8ee6124
10 changed files with 232 additions and 108 deletions
|
@ -2,7 +2,9 @@ module.exports = function(app) {
|
|||
|
||||
// Insert routes below
|
||||
app.use('/api/event', require('../api/event'));
|
||||
|
||||
app.use('/about', function(req, res){
|
||||
res.render('about.ejs');
|
||||
});
|
||||
// All undefined asset or api routes should return a 404
|
||||
// app.route('/:url(api|auth|components|app|bower_components|assets)/*')
|
||||
// .get(errors[404]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue