Skip to content

Commit

Permalink
feat: update gateway uri
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Jul 14, 2024
1 parent c09aa92 commit e26d7fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api-gateway/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,32 @@ spring:
allowedMethods: '*'
routes:
- id: user-service-swagger
uri: https://user-service.mafoo.kr
uri: user-service
predicates:
- Path=/user/v3/api-docs/**
filters:
- RewritePath=/user/(?<segment>/?.*), /$\{segment}
- id: user-service-auth
uri: https://user-service.mafoo.kr
uri: user-service
predicates:
- Path=/user/v1/auth/**
filters:
- RewritePath=/user/(?<segment>/?.*), /$\{segment}
- id: photo-service-swagger
uri: https://photo-service.mafoo.kr
uri: photo-service
predicates:
- Path=/photo/v3/api-docs/**
filters:
- RewritePath=/photo/(?<segment>/?.*), /$\{segment}
- id: user-service
uri: https://user-service.mafoo.kr
uri: user-service
predicates:
- Path=/user/**
filters:
- JWTAuthenticationFilter
- RewritePath=/user/(?<segment>/?.*), /$\{segment}
- id: photo-service
uri: https://photo-service.mafoo.kr
uri: photo-service
predicates:
- Path=/photo/**
filters:
Expand Down

0 comments on commit e26d7fe

Please sign in to comment.