20 lines
389 B
Plaintext
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;
|