From a4c67382fd77219309e56f2741b4ec15bf61899d Mon Sep 17 00:00:00 2001 From: Sehi55 Date: Wed, 6 May 2026 08:59:22 +0900 Subject: [PATCH] fix: route application.yml --- src/main/resources/application.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c66f354..1aa7568 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -32,11 +32,13 @@ spring: uri: lb://CATALOG-SERVICE predicates: - Path=/api/v1/products/** + - Method=GET - id: inventory-service uri: lb://INVENTORY-SERVICE predicates: - - Path=/api/v1/admin/products/** + - Path=/api/v1/products/**,/api/v1/admin/products/** + - Method=POST,PUT,PATCH,DELETE - id: order-service uri: lb://ORDER-SERVICE @@ -66,4 +68,4 @@ jwt: secret: ${JWT_SECRET} cors: - allowed-origins: [] \ No newline at end of file + allowed-origins: [ ] \ No newline at end of file