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

chore: 修改apollo位置

parent 91df5f81
......@@ -17,7 +17,6 @@ app/**/*.js
config/plugin.local.js
config/plugin.js
config/config.*.js
app/web/config/apollo.json
index.js
config/manifest.json
app/view/*
......
{
"api": {
"apiHost": "https://quantum-blocks-vcc2.liangkebang.net/",
"h5Host": "https://quantum-h5-vcc2.liangkebang.net/",
"opapiHost": "https://opapi-vcc2.liangkebang.net/"
},
"mysql": {
"low_code": {
"host": "mysql",
"port": "3306",
"username": "qa",
"password": "qatest",
"database": "low_code"
}
},
"redis": {
"port": "6379",
"host": "redis",
"password": "",
"db": 0
},
"qiniu": {
"qiniuUpHost": "https://up-z0.qiniup.com",
"qiniuHost": "https://appsync.lkbang.net"
}
}
\ No newline at end of file
import apollo from './apollo.json';
import apollo from '../../../config/apollo.json';
const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'https';
const { api, qiniu } = apollo;
export default {
......
import { Application, EggAppConfig } from 'egg';
import apollo from '../app/web/config/apollo.json';
import apollo from './apollo.json';
const { mysql, redis } = apollo;
......
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