Skip to content

Commit

Permalink
cleanup(route): removing special handling of error/notfound routes
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Aug 21, 2017
1 parent c7da9e3 commit 87ee892
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 79 deletions.
2 changes: 1 addition & 1 deletion server/lib/services/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ module.exports.initErrorRoutes = function (app) {
console.error(err.stack);

// Redirect to error page
res.redirect('/server-error');
res.status(500).send();
});
};

Expand Down
63 changes: 0 additions & 63 deletions server/modules/core/server/controllers/core.server.controller.js

This file was deleted.

15 changes: 0 additions & 15 deletions server/modules/core/server/routes/core.server.routes.js

This file was deleted.

0 comments on commit 87ee892

Please sign in to comment.