forked from ForestCho/nodejs-38sr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemp_config.js
More file actions
62 lines (53 loc) · 1.16 KB
/
temp_config.js
File metadata and controls
62 lines (53 loc) · 1.16 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
var path = require('path');
var config = {
site_name: '38sr.com',
cookie_name: '38srweb',
cookie_path: '/',
session_secret: '38srweb',
index: {
list_article_size : 14,
list_new_user_size :9,
list_hot_user_size :9
},
site:{
name: '38锶',
description: '38锶',
keywords: '心情,小清新,有点意思,囧事,爆料',
author: 'caosl158'
},
mailhost: {
host:"smtp.38sr.com",
secureConnection:true,
port:465,
auth: {
pass: "test"
}
},
upyun:{
bat: "srpic",
opname: "test_name",
oppwd: "test_pwd",
photourl: "http://srpic.b0.upaiyun.com/photo/",
cimgurl: "http://srpic.b0.upaiyun.com/cimg/",
siteurl: "http://srpic.b0.upaiyun.com/site/",
mryjurl: "http://srpic.b0.upaiyun.com/mryj/"
},
upload_img_dir: path.join(__dirname, 'public','userimg'),
rela_upload_img_dir: path.join('/userimg'),
site_link:[
{
text:"Shulen`s Blog",
link:"http://forestcho.github.io"
},
{
text:"DigitalOcean",
link:"https://www.digitalocean.com/?refcode=0f682e48abe3"
},
{
text:"羊城通余额查询",
link:"http://www.38sr.com/yangchengtongv"
}
]
}
exports.config = config;