Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks-h5
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-h5
Commits
c2a0f20b
Commit
c2a0f20b
authored
May 27, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 链接地址修复
parent
2dab0b1d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
editor.api.ts
app/web/api/editor.api.ts
+1
-1
dev.config.ts
app/web/config/dev.config.ts
+1
-1
prod.config.ts
app/web/config/prod.config.ts
+1
-1
test.config.ts
app/web/config/test.config.ts
+1
-1
No files found.
app/web/api/editor.api.ts
View file @
c2a0f20b
...
...
@@ -3,6 +3,6 @@ import config from '../config';
export
default
{
getPageById
(
params
)
{
return
http
.
get
(
`
${
config
.
apiHost
}
editor/get/
${
params
.
pageId
}
`
);
return
http
.
get
(
`
${
config
.
apiHost
}
/
editor/get/
${
params
.
pageId
}
`
);
}
};
\ No newline at end of file
app/web/config/dev.config.ts
View file @
c2a0f20b
...
...
@@ -3,7 +3,7 @@ const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'http';
export
default
{
// apiHost: `http://localhost:7001/`,
// apiHost: `http://192.168.28.199:7001/`,
apiHost
:
'
https://quantum-blocks-vcc2.liangkebang.net
/
'
,
apiHost
:
'
https://quantum-blocks-vcc2.liangkebang.net
'
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
// opapiHost: `https://opapi-vcc2.liangkebang.net`,
kdspHost
:
'
https://kdsp-api-vcc2.liangkebang.net
'
,
...
...
app/web/config/prod.config.ts
View file @
c2a0f20b
const
protocol
=
EASY_ENV_IS_BROWSER
?
window
.
location
.
protocol
:
'
https
'
;
const
hostMap
=
{
apiHost
:
`
${
protocol
}
//quantum-blocks.q-gp.com
/
`
,
apiHost
:
`
${
protocol
}
//quantum-blocks.q-gp.com`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=production`
,
test
:
false
};
...
...
app/web/config/test.config.ts
View file @
c2a0f20b
const
protocol
=
EASY_ENV_IS_BROWSER
?
window
.
location
.
protocol
:
'
https
'
;
const
hostMap
=
{
apiHost
:
`
${
protocol
}
//quantum-blocks-test1.liangkebang.net
/
`
,
apiHost
:
`
${
protocol
}
//quantum-blocks-test1.liangkebang.net`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
test
:
true
};
...
...
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