style updates
This commit is contained in:
+3
-3
@@ -8,8 +8,8 @@ use Modules\Platform\app\Http\Middleware\EnsureLicensedTenant;
|
||||
|
||||
return Application::configure(basePath: dirname(__DIR__))
|
||||
->withRouting(
|
||||
web: __DIR__.'/../routes/web.php',
|
||||
commands: __DIR__.'/../routes/console.php',
|
||||
web: __DIR__ . '/../routes/web.php',
|
||||
commands: __DIR__ . '/../routes/console.php',
|
||||
health: '/up',
|
||||
)
|
||||
->withMiddleware(function (Middleware $middleware): void {
|
||||
@@ -18,7 +18,7 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
headers: Request::HEADER_X_FORWARDED_FOR
|
||||
| Request::HEADER_X_FORWARDED_HOST
|
||||
| Request::HEADER_X_FORWARDED_PORT
|
||||
| Request::HEADER_X_FORWARDED_PROTO
|
||||
| Request::HEADER_X_FORWARDED_PROTO,
|
||||
);
|
||||
|
||||
$middleware->alias([
|
||||
|
||||
@@ -19,7 +19,7 @@ use Modules\Shipping\Providers\ShippingServiceProvider;
|
||||
use Modules\Transportation\Providers\TransportationServiceProvider;
|
||||
use Modules\Warehouse\Providers\WarehouseServiceProvider;
|
||||
|
||||
$statusesPath = dirname(__DIR__).'/modules_statuses.json';
|
||||
$statusesPath = dirname(__DIR__) . '/modules_statuses.json';
|
||||
$statuses = is_file($statusesPath)
|
||||
? json_decode((string) file_get_contents($statusesPath), true, 512, JSON_THROW_ON_ERROR)
|
||||
: [];
|
||||
|
||||
Reference in New Issue
Block a user