Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jeecg-boot
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
jeecg-boot
Commits
5a93d001
Commit
5a93d001
authored
Aug 13, 2021
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JeecgBoot 2.4.6版本发布(gateway默认采用database中的路由配置)
parent
d822552e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/application.yml
+18
-18
No files found.
jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/application.yml
View file @
5a93d001
...
...
@@ -22,24 +22,24 @@ spring:
allowedOrigins
:
"
*"
allowedMethods
:
"
*"
allowedHeaders
:
"
*"
#如果启用nacos或者数据库配置请删除一下配置
routes
:
-
id
:
jeecg-demo
uri
:
lb://jeecg-demo
predicates
:
-
Path=/mock/**,/test/**,/bigscreen/template1/**,/bigscreen/template2/**
-
id
:
jeecg-system
uri
:
lb://jeecg-system
predicates
:
-
Path=/sys/**,/eoa/**,/v1/**,/joa/**,/online/**,/bigscreen/**,/jmreport/**,/desform/**,/act/**,/plug-in/**,/generic/**
-
id
:
jeecg-system-websocket
uri
:
lb:ws://jeecg-system
predicates
:
-
Path=/websocket/**,/eoaSocket/**,/newsWebsocket/**
-
id
:
jeecg-demo-websocket
uri
:
lb:ws://jeecg-demo
predicates
:
-
Path=/vxeSocket/**
#
#如果启用nacos或者数据库配置请删除一下配置
#
routes:
#
- id: jeecg-demo
#
uri: lb://jeecg-demo
#
predicates:
#
- Path=/mock/**,/test/**,/bigscreen/template1/**,/bigscreen/template2/**
#
- id: jeecg-system
#
uri: lb://jeecg-system
#
predicates:
#
- Path=/sys/**,/eoa/**,/v1/**,/joa/**,/online/**,/bigscreen/**,/jmreport/**,/desform/**,/act/**,/plug-in/**,/generic/**
#
- id: jeecg-system-websocket
#
uri: lb:ws://jeecg-system
#
predicates:
#
- Path=/websocket/**,/eoaSocket/**,/newsWebsocket/**
#
- id: jeecg-demo-websocket
#
uri: lb:ws://jeecg-demo
#
predicates:
#
- Path=/vxeSocket/**
# 全局熔断降级配置
default-filters
:
-
name
:
Hystrix
...
...
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