From 54708590927053ce3c1a5915a1e88470cd4751e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8C=AF=E4=BA=91=20=28Percy=29?= <464095417@qq.com> Date: Thu, 9 Nov 2017 09:22:23 +0800 Subject: [PATCH 1/8] fix not found /stylesheets/Site.css error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这里大小写错了,导致新建或者编辑文章的时候报错 --- public/libs/ueditor/ueditor.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/libs/ueditor/ueditor.config.js b/public/libs/ueditor/ueditor.config.js index ea33746..e19b7e1 100644 --- a/public/libs/ueditor/ueditor.config.js +++ b/public/libs/ueditor/ueditor.config.js @@ -88,7 +88,7 @@ //给编辑器内部引入css文件 , iframeCssUrl: URL + '../../libs/bootstrap/dist/css/bootstrap.min.css' - + '#' + URL + '../../stylesheets/Site.css' + + '#' + URL + '../../stylesheets/site.css' + '#' + URL + '../../libs/font-awesome/css/font-awesome.min.css' //indentValue From 573b253c2beb08f994c556a3234997e30a0697ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8C=AF=E4=BA=91=20=28Percy=29?= <464095417@qq.com> Date: Thu, 9 Nov 2017 09:26:12 +0800 Subject: [PATCH 2/8] =?UTF-8?q?found=E5=86=99=E6=88=90fount=E4=BA=86?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改单词拼写错误 --- utility/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/logger.js b/utility/logger.js index 379fd08..070511a 100644 --- a/utility/logger.js +++ b/utility/logger.js @@ -58,7 +58,7 @@ exports.errLogger = function (req, err) { route: req.route }; if (!message && obj.code === 404) { - message = 'not fount "' + req.originalUrl + '"'; + message = 'not found "' + req.originalUrl + '"'; } logger.error(message, obj); }; From 5a6d818afc6a80820b1fb13288eabb5128c71c17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8C=AF=E4=BA=91=20=28Percy=29?= <464095417@qq.com> Date: Wed, 27 Dec 2017 16:07:08 +0800 Subject: [PATCH 3/8] =?UTF-8?q?=E4=BB=A5=E7=AB=99=E7=82=B9=E5=90=8D?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=BD=91=E7=AB=99=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 不加这一项的话,网站标题一直为空或者默认。加入这句后,网站标题可以后台配置 --- views/shared/layout.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/shared/layout.html b/views/shared/layout.html index d9bdfd8..6e32eae 100644 --- a/views/shared/layout.html +++ b/views/shared/layout.html @@ -12,7 +12,7 @@ -