Skip to content

Commit

Permalink
fix: disable landing page at qq
Browse files Browse the repository at this point in the history
  • Loading branch information
zgq354 committed Nov 25, 2023
1 parent d6eecd7 commit 2851a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Flarum0x\Extend\ImageSize\ConfigureImgs;
use Flarum0x\Extend\ImageSize\FormatImgs;
use Flarum0x\Extend\Misc\GenerateCustomSlugWhenSaving;
use Flarum0x\Extend\Misc\GlobalLandingPageMiddleware;
// use Flarum0x\Extend\Misc\GlobalLandingPageMiddleware;
use Flarum\Extend;
use Flarum\Discussion\Event\Saving;
use Flarum\Extend\ThrottleApi;
Expand All @@ -27,7 +27,7 @@
$config = @include 'config.php';

return array_filter([
(new Extend\Middleware('forum'))->add(GlobalLandingPageMiddleware::class),
// (new Extend\Middleware('forum'))->add(GlobalLandingPageMiddleware::class),
(new Extend\Frontend('forum'))
->css(__DIR__ . '/resources/less/post-table.less')
->css(__DIR__ . '/resources/less/nav-widget.less')
Expand Down

0 comments on commit 2851a68

Please sign in to comment.