Skip to content

Commit

Permalink
fix: assets load
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Nov 3, 2023
1 parent 019c58c commit 1449445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class Kernel extends HttpKernel
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
RenderTorchlight::class
];

/**
Expand Down
2 changes: 2 additions & 0 deletions config/moonshine.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use MoonShine\Models\MoonshineUser;
use App\MoonShine\MoonShineLayout;
use MoonShine\Pages\ProfilePage;
use Torchlight\Middleware\RenderTorchlight;

return [
'dir' => 'app/MoonShine',
Expand All @@ -22,6 +23,7 @@
'index_route' => env('MOONSHINE_INDEX_ROUTE', 'moonshine.index'),
'middlewares' => [
SecurityHeadersMiddleware::class,
RenderTorchlight::class,
],
'notFoundHandler' => MoonShineNotFoundException::class,
],
Expand Down

0 comments on commit 1449445

Please sign in to comment.