Updated gateway cors
This commit is contained in:
@@ -38,6 +38,7 @@ spring:
|
||||
uri: http://localhost:9081
|
||||
predicates:
|
||||
- Path=/core/**
|
||||
- Method=GET,POST,PUT,DELETE,OPTIONS
|
||||
filters:
|
||||
- RewritePath=/core/(?<segment>.*), /$\{segment}
|
||||
- name: AuthFilter
|
||||
@@ -51,6 +52,7 @@ spring:
|
||||
uri: http://localhost:9082
|
||||
predicates:
|
||||
- Path=/assistant/**
|
||||
- Method=GET,POST,PUT,DELETE,OPTIONS
|
||||
filters:
|
||||
- RewritePath=/assistant/(?<segment>.*), /$\{segment}
|
||||
- name: AuthFilter
|
||||
|
||||
Reference in New Issue
Block a user