mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-06 11:35:31 +02:00
Prettier res.status().format()
(due tabs — my editor has tab-spacing set to 2 so I don’t notice when stuff like this looks crappy)
This commit is contained in:
@@ -24,9 +24,7 @@ exports.renderServerError = function(req, res) {
|
||||
*/
|
||||
exports.renderNotFound = function(req, res) {
|
||||
|
||||
res
|
||||
.status(404)
|
||||
.format({
|
||||
res.status(404).format({
|
||||
'text/html': function(){
|
||||
res.render('modules/core/server/views/404', {
|
||||
url: req.originalUrl
|
||||
|
||||
Reference in New Issue
Block a user