Commit 6aab0327 authored by toshi0123's avatar toshi0123 Committed by okochi-toshiki
Browse files

Fix empty serverURL did not redirect properly


Signed-off-by: default avatartoshi0123 <7948737+toshi0123@users.noreply.github.com>
parent 52742477
......@@ -23,7 +23,7 @@ var response = {
responseError(res, '403', 'Forbidden', 'oh no.')
} else {
req.flash('error', 'You are not allowed to access this page. Maybe try logging in?')
res.redirect(config.serverURL)
res.redirect(config.serverURL + '/')
}
},
errorNotFound: function (res) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment