From b93e0dab4167af955e10d5b6e84b9576a2ce74b8 Mon Sep 17 00:00:00 2001 From: dead_horse Date: Wed, 16 Apr 2014 09:28:22 +0800 Subject: [PATCH] hotfix, close #321 --- .gitignore | 1 + config/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index be1c669cd..5686d6cca 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ results node_modules npm-debug.log public/dist/ +.dist config/config.js backup/*.json backup/*.gz diff --git a/config/index.js b/config/index.js index b6c3b6a16..a5a01fa9c 100644 --- a/config/index.js +++ b/config/index.js @@ -55,7 +55,7 @@ var config = { pass: 'cnpmjs_dev' }, jsonLimit: '10mb', // max request json body size - uploadDir: path.join(root, 'public', 'dist'), + uploadDir: path.join(root, '.dist'), // qiniu cdn: http://www.qiniu.com/, it free for dev. qn: { accessKey: "iN7NgwM31j4-BZacMjPrOQBs34UG1maYCAQmhdCV",