forked from lifedever/ANodeBlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
39 lines (39 loc) · 957 Bytes
/
Copy pathconfig.js
File metadata and controls
39 lines (39 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
var Config = {
site: {
title: 'WincnDEV',
description: '开源、分享,专注开发,用Coding创造财富',
version: '2.0.1',
duoshuo: {
short_name: 'gefangshuai' // 请将这里替换成自己的
}
},
db: {
cookieSecret: 'blogbynodesecret',
name: 'blog',
host: 'localhost',
url: 'mongodb://127.0.0.1:27017/blog'
},
constant: {
flash: {
success: 'success',
error: 'error'
},
role: {
admin: 'admin',
user: 'user'
}
},
article: {
pageSize: 10,
types: ['原创', '分享']
},
wx: {
load: true,
noSkill: "没有此技能,请关注网站: http://wincn.net了解更多!"
},
tl: {
api: 'http://www.tuling123.com/openapi/api',
key: '080cb4400d17375660c8b49e25994125'
}
};
module.exports = Config;