From 6091a9cac0ef3236bd05137a5fae9a9cf1913ed4 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期一, 29 四月 2024 16:03:21 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes
---
hangzhoumesParent/gateway/src/main/resources/application.yml | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/hangzhoumesParent/gateway/src/main/resources/application.yml b/hangzhoumesParent/gateway/src/main/resources/application.yml
index 2e0b3d4..f8655cf 100644
--- a/hangzhoumesParent/gateway/src/main/resources/application.yml
+++ b/hangzhoumesParent/gateway/src/main/resources/application.yml
@@ -1,12 +1,10 @@
server:
port: 88
spring:
+ profiles:
+ active: prod
application:
name: gateway
- cloud:
- nacos:
- discovery:
- server-addr: 127.0.0.1:8848
gateway:
discovery:
locator:
@@ -20,28 +18,28 @@
- StripPrefix=2
- id: cacheVerticalGlass
- uri: http://127.0.0.1:8082
+ uri: lb://cacheVerticalGlass
predicates:
- Path=/api/cacheVerticalGlass/**
filters:
- StripPrefix=2
- id: loadGlass
- uri: http://127.0.0.1:8083
+ uri: lb://loadGlass
predicates:
- Path=/api/loadGlass/**
filters:
- StripPrefix=2
- id: temperingGlass
- uri: http://127.0.0.1:8084
+ uri: lb://temperingGlass
predicates:
- Path=/api/temperingGlass/**
filters:
- StripPrefix=2
- id: unLoadGlass
- uri: http://127.0.0.1:8085
+ uri: lb://unLoadGlass
predicates:
- Path=/api/unLoadGlass/**
filters:
--
Gitblit v1.8.0