Skip to content

Commit

Permalink
feat: update filter
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Sep 8, 2024
1 parent 56e6146 commit 4f76bd6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api-gateway/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ spring:
filters:
- JWTAuthenticationFilter
- RewritePath=/user/(?<segment>/?.*), /$\{segment}
- id: photo-service-admin
uri: http://photo-service
predicates:
- Path=/photo/v1/admin/**
filters:
- AdminAuthenticationFilter
- RewritePath=/photo/(?<segment>/?.*), /$\{segment}
- id: photo-service-add-photo
uri: http://photo-service
predicates:
Expand Down

0 comments on commit 4f76bd6

Please sign in to comment.