Authored by 姜枫

将favicon.ico 放到public外面,因为发布系统现在会过滤掉public文件夹

@@ -64,7 +64,7 @@ app.use(global.yoho.hbs({ @@ -64,7 +64,7 @@ app.use(global.yoho.hbs({
64 64
65 app.use(global.yoho.middleware()); 65 app.use(global.yoho.middleware());
66 66
67 -app.use(favicon(path.join(__dirname, '/public/favicon.ico'))); 67 +app.use(favicon(path.join(__dirname, '/favicon.ico')));
68 app.use(express.static(path.join(__dirname, 'public'))); 68 app.use(express.static(path.join(__dirname, 'public')));
69 app.use(bodyParser.json()); 69 app.use(bodyParser.json());
70 app.use(bodyParser.urlencoded({ 70 app.use(bodyParser.urlencoded({