spider/config/config.js.example
2019-05-09 17:26:04 +08:00

20 lines
389 B
Plaintext

let path = require('path');
let rootPath = path.normalize(__dirname + '/..')
let config = {
root: rootPath,
app: {
name: 'spider'
},
db: 'mongodb://localhost/ghost-development',
logs_path: '/Users/zhl/Documents/logs/spider',
download_path: '/Users/zhl/Documents/spider',
schedule: {
website: '0 0 2 * * *',
proxy: '1 0 0 * * *'
}
};
module.exports = config;