Added config post-processor which sets proper allowed methods based on redirect status codes

This commit is contained in:
Alejandro Celaya
2023-01-07 13:51:35 +01:00
parent a06957e9fa
commit 0c1b36d0d4
4 changed files with 148 additions and 1 deletions

View File

@@ -50,4 +50,5 @@ return (new ConfigAggregator\ConfigAggregator([
], 'data/cache/app_config.php', [
Core\Config\PostProcessor\BasePathPrefixer::class,
Core\Config\PostProcessor\MultiSegmentSlugProcessor::class,
Core\Config\PostProcessor\ShortUrlMethodsProcessor::class,
]))->getMergedConfig();