Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
ReactWeb5
CivWeb
Commits
fc4d4942
Commit
fc4d4942
authored
3 years ago
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: load micro config
parent
af263493
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
5 deletions
+11
-5
civbase.zip
civbase.zip
+0
-0
micor.js
config/micor.js
+7
-1
proxy.js
config/proxy.js
+1
-1
package-lock.json
package-lock.json
+3
-3
package.json
package.json
+0
-0
micro.js
src/micro.js
+0
-0
No files found.
civbase.zip
View file @
fc4d4942
This diff was suppressed by a .gitattributes entry.
This diff is collapsed.
Click to expand it.
config/micor.js
View file @
fc4d4942
...
...
@@ -5,10 +5,16 @@ export default {
dev
:
[
{
name
:
'civ_monitor'
,
entry
:
`//
${
window
.
location
.
hostname
}
:808
2
/civ_monitor`
,
entry
:
`//
${
window
.
location
.
hostname
}
:808
1
/civ_monitor`
,
container
:
'#micro-container'
,
activeRule
:
genActiveRule
(
'/civbase/civ_monitor'
),
},
{
name
:
'civ_water'
,
entry
:
`//
${
window
.
location
.
hostname
}
:8083/civ_water`
,
container
:
'#micro-container'
,
activeRule
:
genActiveRule
(
'/civbase/civ_water'
),
},
{
name
:
'civweb4'
,
entry
:
`//
${
window
.
location
.
hostname
}
:3020/civweb4`
,
...
...
This diff is collapsed.
Click to expand it.
config/proxy.js
View file @
fc4d4942
/* eslint-disable */
// const proxyURL = process.env.NODE_ENV !== 'production' ? 'http://192.168.10.150:8777' : window.location.origin;
const
proxyURL
=
'http://1
72.16.10.183:8087
'
;
const
proxyURL
=
'http://1
92.168.19.105:8530
'
;
module
.
exports
=
{
assetsRoot
:
process
.
env
.
NODE_ENV
!==
'production'
?
proxyURL
:
'./'
,
dev
:
{
...
...
This diff is collapsed.
Click to expand it.
package-lock.json
View file @
fc4d4942
...
...
@@ -23089,9 +23089,9 @@
"dev"
:
true
},
"kit_global_config"
:
{
"version"
:
"1.0.2
6
"
,
"resolved"
:
"https://g.civnet.cn:4873/kit_global_config/-/kit_global_config-1.0.2
6
.tgz"
,
"integrity"
:
"sha512-
uLrOcaYyKHM0T2Di9iIkzkgIpGex4tFNy3c34x4WkcLL3QaivVKpqE5OZ0hU8BxOPsLDjCqTXR/CcMLNMcT4Yg
=="
,
"version"
:
"1.0.2
8
"
,
"resolved"
:
"https://g.civnet.cn:4873/kit_global_config/-/kit_global_config-1.0.2
8
.tgz"
,
"integrity"
:
"sha512-
S9I6UYZxH2KY/cS85j5WW3bk+NqKREDaIZRdP4q6xGr4m0bTFPCckzHmUnccDbErbBJJrKx8+HI4ABCmzZ8dlw
=="
,
"requires"
:
{
"@babel/runtime"
:
"^7.10.5"
,
"js-base64"
:
"^3.5.2"
,
This diff is collapsed.
Click to expand it.
package.json
View file @
fc4d4942
This diff is collapsed.
Click to expand it.
src/micro.js
View file @
fc4d4942
This diff is collapsed.
Click to expand it.
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