Skip to content

Commit

Permalink
Use API Url prefix on sylius.api.paths_to_hide
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Apr 27, 2022
1 parent 3d0c17d commit 6f15f12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Sylius/Bundle/ApiBundle/Resources/config/app/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ parameters:
env(SYLIUS_API_AUTHORIZATION_HEADER): Authorization
sylius.api.authorization_header: "%env(resolve:SYLIUS_API_AUTHORIZATION_HEADER)%"
sylius.api.paths_to_hide:
- "/api/v2/admin/catalog-promotion-actions/{id}"
- "/api/v2/admin/catalog-promotion-scopes/{id}"
- "/api/v2/admin/channel-pricings/{id}"
- "%sylius.security.new_api_route%/admin/catalog-promotion-actions/{id}"
- "%sylius.security.new_api_route%/admin/catalog-promotion-scopes/{id}"
- "%sylius.security.new_api_route%/admin/channel-pricings/{id}"
sylius.security.new_api_route: "/api/v2"
sylius.security.new_api_regex: "^%sylius.security.new_api_route%"
sylius.security.new_api_admin_route: "%sylius.security.new_api_route%/admin"
Expand Down

0 comments on commit 6f15f12

Please sign in to comment.