|
@@ -152,12 +152,6 @@ spring:
|
|
|
- Path=/api/admin/file/**
|
|
- Path=/api/admin/file/**
|
|
|
filters:
|
|
filters:
|
|
|
- StripPrefix=0
|
|
- StripPrefix=0
|
|
|
- - id: oss-router
|
|
|
|
|
- uri: lb://file-service
|
|
|
|
|
- predicates:
|
|
|
|
|
- - Path=/api/oss/**
|
|
|
|
|
- filters:
|
|
|
|
|
- - StripPrefix=0
|
|
|
|
|
###############################################################################
|
|
###############################################################################
|
|
|
- id: message-websocket
|
|
- id: message-websocket
|
|
|
uri: lb:ws://message-service
|
|
uri: lb:ws://message-service
|
|
@@ -202,6 +196,13 @@ spring:
|
|
|
- Path=/api/admin1/**
|
|
- Path=/api/admin1/**
|
|
|
filters:
|
|
filters:
|
|
|
- StripPrefix=0
|
|
- StripPrefix=0
|
|
|
|
|
+ ###############################################################################
|
|
|
|
|
+ - id: oss-router
|
|
|
|
|
+ uri: http://127.0.0.1:8010
|
|
|
|
|
+ predicates:
|
|
|
|
|
+ - Path=/api/oss/**
|
|
|
|
|
+ filters:
|
|
|
|
|
+ - StripPrefix=0
|
|
|
# gateway:
|
|
# gateway:
|
|
|
# globalcors:
|
|
# globalcors:
|
|
|
# cors-configurations:
|
|
# cors-configurations:
|