瀏覽代碼

航道配置websocket

pull/90/head
chenjiandong 1 年之前
父節點
當前提交
d7351e5cc1
共有 3 個檔案被更改,包括 21 行新增0 行删除
  1. +7
    -0
      src/main/resources/application-dev.yml
  2. +7
    -0
      src/main/resources/application-prod.yml
  3. +7
    -0
      src/main/resources/application-test.yml

+ 7
- 0
src/main/resources/application-dev.yml 查看文件

@@ -186,6 +186,13 @@ spring:
- Path=/waterway/admin/**
filters:
- StripPrefix=2
# waterway后台管理 webSocket
- id: tuoheng-waterway-admin-webSocket
uri: lb:ws://tuoheng-waterway-admin
predicates:
- Path=/waterway/admin/webSocket/**
filters:
- StripPrefix=2
# waterway小程序服务
- id: tuoheng-waterway-miniprogram
uri: lb://tuoheng-waterway-miniprogram

+ 7
- 0
src/main/resources/application-prod.yml 查看文件

@@ -178,6 +178,13 @@ spring:
- Path=/waterway/admin/**
filters:
- StripPrefix=2
# waterway后台管理 webSocket
- id: tuoheng-waterway-admin-webSocket
uri: lb:ws://tuoheng-waterway-admin
predicates:
- Path=/waterway/admin/webSocket/**
filters:
- StripPrefix=2
# waterway小程序服务
- id: tuoheng-waterway-miniprogram
uri: lb://tuoheng-waterway-miniprogram

+ 7
- 0
src/main/resources/application-test.yml 查看文件

@@ -179,6 +179,13 @@ spring:
- Path=/waterway/admin/**
filters:
- StripPrefix=2
# waterway后台管理 webSocket
- id: tuoheng-waterway-admin-webSocket
uri: lb:ws://tuoheng-waterway-admin
predicates:
- Path=/waterway/admin/webSocket/**
filters:
- StripPrefix=2
# waterway小程序服务
- id: tuoheng-waterway-miniprogram
uri: lb://tuoheng-waterway-miniprogram

Loading…
取消
儲存