Skip to content

Commit

Permalink
chore: add admin service to api gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Sep 7, 2024
1 parent 3e863ed commit 9d5a4e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api-gateway/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ spring:
allowedHeaders: '*'
allowedMethods: '*'
routes:
- id: admin-service
uri: http://admin-service
predicates:
- Path=/admin/**
filters:
- RewritePath=/admin/(?<segment>/?.*), /$\{segment}
- id: user-service-swagger
uri: http://user-service
predicates:
Expand Down

0 comments on commit 9d5a4e0

Please sign in to comment.