fix(quickstart-gateway-service): fix route failure caused by Spring Cloud Gateway 5.x property prefix change

Spring Cloud Gateway 5.0.1 (webflux) renamed the configuration prefix from
spring.cloud.gateway.* to spring.cloud.gateway.server.webflux.*, causing the
discovery.locator and routes configuration to be ignored, so the gateway
could not forward requests (returned 404).
pull/1811/head
fishtailfu 2 months ago
parent cc0e45ea13
commit 44b7638b4b

@ -33,6 +33,8 @@ spring:
stat: stat:
enabled: true enabled: true
gateway: gateway:
server:
webflux:
discovery: discovery:
locator: locator:
enabled: true enabled: true

Loading…
Cancel
Save