Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
quantum-blocks
Commits
fd5c2d36
Commit
fd5c2d36
authored
May 20, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改apollo位置
parent
91df5f81
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
3 deletions
+28
-3
.gitignore
.gitignore
+0
-1
apollo.json
app/web/config/apollo.json
+26
-0
test.config.ts
app/web/config/test.config.ts
+1
-1
config.test.ts
config/config.test.ts
+1
-1
No files found.
.gitignore
View file @
fd5c2d36
...
...
@@ -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/*
...
...
app/web/config/apollo.json
0 → 100644
View file @
fd5c2d36
{
"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
app/web/config/test.config.ts
View file @
fd5c2d36
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
{
...
...
config/config.test.ts
View file @
fd5c2d36
import
{
Application
,
EggAppConfig
}
from
'
egg
'
;
import
apollo
from
'
.
./app/web/config
/apollo.json
'
;
import
apollo
from
'
./apollo.json
'
;
const
{
mysql
,
redis
}
=
apollo
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment