mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
33 lines
564 B
JavaScript
33 lines
564 B
JavaScript
/**
|
|
* config
|
|
*/
|
|
|
|
exports.config = {
|
|
name: 'Node Club',
|
|
description: 'Node Club 是用Node.js开发的社区软件',
|
|
host: 'http://127.0.0.1/',
|
|
db: 'mongodb://127.0.0.1/node_club',
|
|
session_secret: 'node_club',
|
|
auth_cookie_name: 'node_club',
|
|
port: 80,
|
|
version: '0.0.1',
|
|
|
|
// topics list count
|
|
list_topic_count: 20,
|
|
|
|
// mail SMTP
|
|
mail_port: 25,
|
|
mail_user: 'club',
|
|
mail_pass: 'club',
|
|
mail_host: 'smtp.126.com',
|
|
mail_sender: 'club@126.com',
|
|
mail_use_authentication: true,
|
|
|
|
//weibo app key
|
|
weibo_key: 10000000,
|
|
|
|
// admins
|
|
admins: {admin:true}
|
|
};
|
|
|