feat(owner-vue): owner vue에 카테고리 얻어오는 기능 추가

owner vue에 카테고리 얻어오는 기능 추가
This commit is contained in:
hoon7566
2022-02-22 19:41:55 +09:00
parent 3da1bbb975
commit 4034304b04
6 changed files with 138 additions and 4 deletions

View File

@@ -14,6 +14,16 @@ spring:
cloud:
gateway:
globalcors:
cors-configurations:
'[/**]':
allowedOrigins: "http://localhost:8080"
allowedMethods:
- POST
- GET
- PUT
- OPTIONS
- DELETE
routes:
- id: owner-frontend-service
uri: lb://OWNER-FRONTEND-SERVICE
@@ -38,4 +48,10 @@ spring:
predicates:
- Path=/user-service/**
filters:
- RewritePath=/user-service/(?<segment>.*),/$\{segment}
- RewritePath=/user-service/(?<segment>.*),/$\{segment}
- id: owner-vue
uri: http://localhost:8080
predicates:
- Path=/owner-vue/**
filters:
- RewritePath=/owner-vue/(?<segment>.*),/$\{segment}