diff --git a/extensions/flags/bootstrap.php b/extensions/flags/bootstrap.php index 6f5afd6c6..11009b95d 100644 --- a/extensions/flags/bootstrap.php +++ b/extensions/flags/bootstrap.php @@ -17,11 +17,11 @@ use Flarum\Flags\Listener; use Illuminate\Contracts\Events\Dispatcher; return [ - (new Extend\Assets('forum')) + (new Extend\Frontend('forum')) ->js(__DIR__.'/js/dist/forum.js') - ->asset(__DIR__.'/less/forum.less'), + ->css(__DIR__.'/less/forum.less'), - (new Extend\Assets('admin')) + (new Extend\Frontend('admin')) ->js(__DIR__.'/js/dist/admin.js'), (new Extend\Routes('api'))