Skip to content

Commit

Permalink
Fixed path processor priorities to make front page work
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Aug 27, 2021
1 parent 48d9cc2 commit 5583b01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions helfi_proxy.services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ services:
class: Drupal\helfi_proxy\PathProcessor\SitePrefixPathProcessor
arguments: ['@config.factory']
tags:
- { name: path_processor_inbound, priority: 200 }
- { name: path_processor_outbound, priority: -600 }
# Must be run before PathProcessorFront (200 weight).
- { name: path_processor_inbound, priority: 201 }
# Must to be run after LanguageProcessorLanguage (100 weight).
- { name: path_processor_outbound, priority: 99 }

cache_context.site_prefix:
class: Drupal\helfi_proxy\Cache\Context\SitePrefixCacheContext
Expand Down

0 comments on commit 5583b01

Please sign in to comment.