This commit is contained in:
Administrator
2024-05-10 10:51:20 +08:00
parent 5a883ef9ce
commit 27eb26393e
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ spring:
cloud:
nacos:
discovery:
server-addr: ${NACOS_HOST:localhost}:${NACOS_PORT:8848}
server-addr: ${NACOS_HOST}:${NACOS_PORT:8848}
gateway:
routes:
- id: demo-one

View File

@@ -15,5 +15,5 @@ spring:
cloud:
nacos:
discovery:
server-addr: ${NACOS_HOST:localhost}:${NACOS_PORT:8848}
server-addr: ${NACOS_HOST}:${NACOS_PORT:8848}