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