From 77fd132ae886bf956fb8e4d71ddbf9cb31c75c61 Mon Sep 17 00:00:00 2001
From: yyq <kingcoon@163.com>
Date: Mon, 29 Jan 2018 14:40:37 +0800
Subject: [PATCH] lint

---
 apps/channel/controllers/index.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/apps/channel/controllers/index.js b/apps/channel/controllers/index.js
index 67d326f..b2493a3 100644
--- a/apps/channel/controllers/index.js
+++ b/apps/channel/controllers/index.js
@@ -101,9 +101,9 @@ exports.hasNewUserFloor = (req, res, next) => {
 // 频道页301重定向
 exports.redirect = (goUrl) => {
     return function(req, res, next) {
-    if (req.path === goUrl) {
-        return next();
-    }
+        if (req.path === goUrl) {
+            return next();
+        }
 
         res.redirect(301, goUrl);
     };
--
libgit2 0.24.0