From b60077634fa175394030a6f20dbc48a995730011 Mon Sep 17 00:00:00 2001 From: Ahmed Alaa Date: Tue, 18 Mar 2025 10:37:02 +0200 Subject: [PATCH] Use fenced code blocks --- sail.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sail.md b/sail.md index a7b90572d2b..5f4d5cfc32d 100644 --- a/sail.md +++ b/sail.md @@ -470,9 +470,11 @@ sail share When sharing your site via the `share` command, you should configure your application's trusted proxies using the `trustProxies` middleware method in your application's `bootstrap/app.php` file. Otherwise, URL generation helpers such as `url` and `route` will be unable to determine the correct HTTP host that should be used during URL generation: - ->withMiddleware(function (Middleware $middleware) { - $middleware->trustProxies(at: '*'); - }) +```php +->withMiddleware(function (Middleware $middleware) { + $middleware->trustProxies(at: '*'); +}) +``` If you would like to choose the subdomain for your shared site, you may provide the `subdomain` option when executing the `share` command: