Fixed slashes issues in channel-names

This commit is contained in:
Kasper Rynning-Tønnesen
2018-05-31 15:49:17 +02:00
parent ded625ae25
commit f7664ac32b
3 changed files with 4 additions and 2 deletions

View File

@@ -114,6 +114,7 @@ app.use('/assets/admin', function(req, res, next) {
app.use('/assets', express.static(publicPath + '/assets'));
app.use(function (req, res, next) {
console.log("here");
res.status(404);
res.redirect("/404");
})