1
0
mirror of https://github.com/flarum/core.git synced 2025-09-02 04:33:04 +02:00

Load middleware stacks lazily

This way, the forum middleware does not need to be loaded for
API requests, and vice-versa.
This commit is contained in:
Franz Liedke
2018-08-22 09:17:43 +02:00
parent 59b1ca9b7c
commit 869ec54bd0
2 changed files with 14 additions and 9 deletions

View File

@@ -44,6 +44,8 @@
"league/flysystem": "^1.0.11",
"league/oauth2-client": "~1.0",
"matthiasmullie/minify": "^1.3",
"middlewares/base-path-router": "^0.2.1",
"middlewares/request-handler": "^1.2",
"monolog/monolog": "^1.16.0",
"nikic/fast-route": "^0.6",
"oyejorge/less.php": "^1.7",