Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gzt-smart-monitor
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yms
gzt-smart-monitor
Commits
e2712a36
An error occurred while fetching merge requests data.
Commit
e2712a36
authored
1 year ago
by
yms
Browse files
Options
Downloads
Patches
Plain Diff
fix: 解决打包问题
parent
b0665ee9
No related branches found
Branches containing commit
Tags
0.0.2
Tags containing commit
Loading
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
config/nginx.conf
+1
-1
1 addition, 1 deletion
config/nginx.conf
docker-compose.yml
+17
-0
17 additions, 0 deletions
docker-compose.yml
src/caseSituation.tsx
+1
-0
1 addition, 0 deletions
src/caseSituation.tsx
src/mainPage.tsx
+1
-1
1 addition, 1 deletion
src/mainPage.tsx
with
20 additions
and
2 deletions
config/nginx.conf
+
1
−
1
View file @
e2712a36
...
...
@@ -31,7 +31,7 @@
}
location
/monitor
{
rewrite
^/
devices
/(.*)
$
/
$1
break
;
rewrite
^/
monitor
/(.*)
$
/
$1
break
;
add_header
Access-Control-Allow-Origin
*
;
add_header
Access-Control-Allow-Methods
'GET,
POST,
OPTIONS'
;
add_header
Access-Control-Allow-Headers
'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization'
;
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
0 → 100644
+
17
−
0
View file @
e2712a36
gzt-smart-monitor
:
# 镜像
image
:
registry.hncy.info/hncy/gzt-smart-monitor:0.0.1
# 端口映射
ports
:
-
9096:80
container_name
:
gzt-smart-monitor
# 环境变量
environment
:
-
SPRING_PROFILES_ACTIVE=prod
-
PROXY_ONE_SERVICE=
-
PROXY_TWO_SERVICE=
-
SERVICE_NAME=gzt-smart-monitor
-
CROSS_HEADER=true
-
EXTERNAL_HOST=192.168.2.21
-
EXTERNAL_PORT=80
-
EUREKA_SERVER=192.168.2.21:7777
This diff is collapsed.
Click to expand it.
src/caseSituation.tsx
+
1
−
0
View file @
e2712a36
...
...
@@ -11,6 +11,7 @@ import {
queryHighIncidenceProblem
,
queryHighTime
,
}
from
"
./service
"
;
import
{
cloneDeep
}
from
"
lodash
"
;
const
option
:
any
=
{
...
...
This diff is collapsed.
Click to expand it.
src/mainPage.tsx
+
1
−
1
View file @
e2712a36
...
...
@@ -39,7 +39,7 @@ const MainPage = () => {
value
:
intelligentMonitoringData
?.[
2
]?.
data
.
worring
??
0
,
},
],
[
intelligentMonitoringData
]
[
intelligentMonitoringData
,
publicToiletInfo
]
);
useEffect
(()
=>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment