Skip to content

Commit

Permalink
GITBOOK-2: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
d8vjork authored and gitbook-bot committed Aug 19, 2024
1 parent e635740 commit 37997bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add the following to your `bootstrap/app.php`

<pre class="language-php"><code class="lang-php"><strong>->withMiddleware(function (Middleware $middleware) {
</strong> $middleware->append([
\App\Http\Middleware\ForceHttpsScheme::class,
\OpenSoutheners\ExtendedLaravel\Http\Middleware\ForceHttpsScheme::class,
]);
})
</code></pre>
Expand All @@ -34,7 +34,7 @@ Add the following to your `app/Http/Kernel.php`
* @var array<int, class-string|string>
*/
protected $middleware = [
\App\Http\Middleware\ForceHttpsScheme::class,
\OpenSoutheners\ExtendedLaravel\Http\Middleware\ForceHttpsScheme::class,
// The rest of global middleware...
];
```
Expand Down

0 comments on commit 37997bd

Please sign in to comment.