meilisearch/Configuration/RequestMiddlewares.php

21 lines
914 B
PHP
Raw Normal View History

2021-04-17 00:26:33 +02:00
<?php
/** @noinspection PhpFullyQualifiedNameUsageInspection */
return [
'frontend' => [
2021-04-17 21:20:54 +02:00
'apache-meilisearch-for-typo3/page-indexer-fe-user-authenticator' => [
2021-04-17 00:26:33 +02:00
'target' => \WapplerSystems\Meilisearch\Middleware\FrontendUserAuthenticator::class,
2021-04-17 21:20:54 +02:00
'before' => ['apache-meilisearch-for-typo3/page-indexer-initialization']
2021-04-17 00:26:33 +02:00
],
2021-04-17 21:20:54 +02:00
'apache-meilisearch-for-typo3/page-indexer-initialization' => [
2021-04-17 00:26:33 +02:00
'target' => \WapplerSystems\Meilisearch\Middleware\PageIndexerInitialization::class,
'before' => ['typo3/cms-frontend/tsfe'],
'after' => ['typo3/cms-core/normalized-params-attribute']
],
2021-04-17 21:20:54 +02:00
'apache-meilisearch-for-typo3/page-indexer-finisher' => [
2021-04-17 00:26:33 +02:00
'target' => \WapplerSystems\Meilisearch\Middleware\PageIndexerFinisher::class,
'after' => ['typo3/cms-frontend/content-length-headers']
]
]
];