21 lines
417 B
Plaintext
21 lines
417 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: '1 0 0 * * *',
|
|
proxy: '0 0 23 * * *',
|
|
common: '0 0 3 * * *'
|
|
}
|
|
};
|
|
|
|
module.exports = config;
|