Skip to content

Commit 07d3fc7

Browse files
chunge66lisong
authored andcommitted
Fix db init failed by upyun config error (#210)
1 parent 8ff23fa commit 07d3fc7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ pids
1414
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
1515
node_modules
1616

17-
coverage
17+
coverage
18+
19+
# vs code
20+
.history
21+
.idea

config/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ config.development = {
2222
},
2323
// Config for upyun (https://www.upyun.com/) storage when storageType value is "upyun"
2424
upyun: {
25-
storageDir: process.evv.UPYUN_STORAGE_DIR,
25+
storageDir: process.env.UPYUN_STORAGE_DIR,
2626
serviceName: process.env.UPYUN_SERVICE_NAME,
2727
operatorName: process.env.UPYUN_OPERATOR_NAME,
2828
operatorPass: process.env.UPYUN_OPERATOR_PASS,

0 commit comments

Comments
 (0)