|
@@ -18,31 +18,31 @@ module.exports = () => {
|
|
};
|
|
};
|
|
|
|
|
|
// 服务器发布路径
|
|
// 服务器发布路径
|
|
- config.baseUrl = 'http://free.liaoningdoupo.com';
|
|
|
|
|
|
+ config.baseUrl = 'http://jytz.jilinjobs.cn/';
|
|
// 认证回调地址
|
|
// 认证回调地址
|
|
config.authUrl = '/api/auth';
|
|
config.authUrl = '/api/auth';
|
|
|
|
|
|
// mq config
|
|
// mq config
|
|
- // config.amqp = {
|
|
|
|
- // client: {
|
|
|
|
- // hostname: '127.0.0.1',
|
|
|
|
- // username: 'wy',
|
|
|
|
- // password: '1',
|
|
|
|
- // vhost: 'smart',
|
|
|
|
- // },
|
|
|
|
- // app: true,
|
|
|
|
- // agent: true,
|
|
|
|
- // };
|
|
|
|
|
|
+ config.amqp = {
|
|
|
|
+ client: {
|
|
|
|
+ hostname: '192.168.1.128',
|
|
|
|
+ username: 'visit',
|
|
|
|
+ password: 'visit',
|
|
|
|
+ vhost: 'train',
|
|
|
|
+ },
|
|
|
|
+ app: true,
|
|
|
|
+ agent: true,
|
|
|
|
+ };
|
|
|
|
|
|
// redis config
|
|
// redis config
|
|
- // config.redis = {
|
|
|
|
- // client: {
|
|
|
|
- // port: 6379, // Redis port
|
|
|
|
- // host: '127.0.0.1', // Redis host
|
|
|
|
- // password: null,
|
|
|
|
- // db: 0,
|
|
|
|
- // },
|
|
|
|
- // };
|
|
|
|
|
|
+ config.redis = {
|
|
|
|
+ client: {
|
|
|
|
+ port: 6379, // Redis port
|
|
|
|
+ host: '192.168.1.128', // Redis host
|
|
|
|
+ password: '123456',
|
|
|
|
+ db: 0,
|
|
|
|
+ },
|
|
|
|
+ };
|
|
|
|
|
|
// config.mongoose = {
|
|
// config.mongoose = {
|
|
// url: 'mongodb://localhost:27017/train',
|
|
// url: 'mongodb://localhost:27017/train',
|