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

fix: 调整配置

parent 28b1e5d5
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
const path = require('path'); const path = require('path');
import { Application, EggAppConfig } from 'egg'; import { Application, EggAppConfig } from 'egg';
const { mysql, redis, api, qiniu } = require(path.resolve('./config/apollo.json')); const { mysql, redis, api, qiniu } = require(path.resolve(__dirname, './apollo.json'));
export default (appInfo: EggAppConfig) => { export default (appInfo: EggAppConfig) => {
const exports: any = {}; const exports: any = {};
exports.logger = { exports.logger = {
......
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