<?php

/**
 * Register middlewares, which will be triggered at each request
 */
return [
    'frontend' => [
        'typo3/cms-frontend/site' => [
            'target' => Opentalent\OtOptimizer\XClass\Frontend\Middleware\SiteResolver::class,
            'before' => [
                'typo3/cms-adminpanel/initiator'
            ],
            'after' => [
                'typo3/cms-adminpanel/sql-logging'
            ],
        ],
    ],
];
