File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function execute(): bool
2323 throw new \Exception ("Couldn't load local bootstrap/app.php file " );
2424 }
2525
26- $ remote = "https://raw.githubusercontent.com/laravel/laravel/11 .x/bootstrap/app.php " ;
26+ $ remote = "https://raw.githubusercontent.com/laravel/laravel/13 .x/bootstrap/app.php " ;
2727 $ response = Http::get ($ remote );
2828 if ($ response ->getStatusCode () !== 200 ) {
2929 throw new \Exception ("Couldn't load remote bootstrap/app.php file " );
@@ -36,7 +36,6 @@ public function execute(): bool
3636 throw new \Exception ("Bootstrap/app.php file already modified, aborting overwrite " );
3737 }
3838
39-
4039 $ stub = file_get_contents (config ('adminui-installer.root ' ) . "/stubs/app.php.stub " );
4140 file_put_contents ($ appFile , $ stub );
4241
Original file line number Diff line number Diff line change 11<?php
22
3+ use AdminUI\AdminUI\Middleware\DisableSsrForHumans;
34use Illuminate\Support\Facades\Route;
45use Illuminate\Foundation\Application;
56use App\Http\Middleware\HandleInertiaRequests;
@@ -33,6 +34,8 @@ return Application::configure(basePath: dirname(__DIR__))
3334 // Load the Inertia middleware for the frontend
3435 $middleware->web(append: [
3536 HandleInertiaRequests::class,
37+ DisableSsrForHumans::class
38+
3639 ]);
3740 })
3841 ->withExceptions(function (Exceptions $exceptions) {
You can’t perform that action at this time.
0 commit comments