Commit d02b8452 authored by 郭志伟's avatar 郭志伟

fix: apollo问题修复

parent 91d483fb
...@@ -6,9 +6,6 @@ export default (appInfo: EggAppConfig) => { ...@@ -6,9 +6,6 @@ export default (appInfo: EggAppConfig) => {
const exports: any = {}; const exports: any = {};
const { redis } = require(path.resolve('./config/apollo.json')); const { redis } = require(path.resolve('./config/apollo.json'));
exports.redis = { exports.redis = {
default: {
keyPrefix: appInfo.name + ':',
},
client: redis client: redis
}; };
......
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