Fix: 修复格式错误

This commit is contained in:
2025-10-07 01:55:26 +08:00
parent 14ef73a95f
commit 747ec12188
+2 -13
View File
@@ -1,6 +1,6 @@
server: server:
port: 8080 port: 8080
spring:: spring:
application: application:
name: api-gateway name: api-gateway
cloud: cloud:
@@ -23,7 +23,7 @@ spring::
# 全局过滤器配置 # 全局过滤器配置
globalcors: globalcors:
cors-configurations: cors-configurations:
'[/**]': "[/**]":
allowedOrigins: "*" allowedOrigins: "*"
allowedMethods: "*" allowedMethods: "*"
allowedHeaders: "*" allowedHeaders: "*"
@@ -39,14 +39,3 @@ spring::
instances: instances:
eureka-server: eureka-server:
- uri: http://localhost:8761 - uri: http://localhost:8761
# 服务注册配置
cloud:
config:
uri: http://localhost:8888
# Eureka客户端配置
eureka:
client:
service-url:
defaultZone: http://localhost:8761/eureka/
instance:
prefer-ip-address: true