Commit 370215cb authored by Hsinli's avatar Hsinli

addd

parent 6806b5e7
Pipeline #13543 passed with stage
in 24 seconds
...@@ -14,7 +14,7 @@ module.exports = appInfo => { ...@@ -14,7 +14,7 @@ module.exports = appInfo => {
dir: '/jianbing/logs/51business', dir: '/jianbing/logs/51business',
}; };
// add your config here // add your config here
config.middleware = [ 'errorHandler', 'deviceLogin', 'deviceInit', 'responseSet' ]; config.middleware = ['errorHandler', 'deviceLogin', 'deviceInit', 'responseSet'];
// 是否启用csrf安全 // 是否启用csrf安全
config.security = { config.security = {
...@@ -113,6 +113,10 @@ module.exports = appInfo => { ...@@ -113,6 +113,10 @@ module.exports = appInfo => {
config.USER_CENTER_API_URI = process.env.USER_CENTER_API_URI; config.USER_CENTER_API_URI = process.env.USER_CENTER_API_URI;
config.BLACKLIST_APPLY_APPKEY = process.env.BLACKLIST_APPLY_APPKEY;//黑名单对接
config.BLACKLIST_APPLY_APPKEY = process.env.BLACKLIST_APPLY_APPSECRET;
config.BLACKLIST_APPLY_APPKEY = process.env.BLACKLIST_APPLY_URL;
return config; return config;
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment