null, /* |-------------------------------------------------------------------------- | Livewire App URL |-------------------------------------------------------------------------- | | This value should be used if livewire assets are served from CDN. | Livewire will communicate with an app through this url. | | Examples: "https://my-app.com", "myurl.com/app". | */ 'app_url' => env('APP_URL'), /* |-------------------------------------------------------------------------- | Livewire Update Endpoint |-------------------------------------------------------------------------- | | The endpoint for Livewire AJAX requests. | */ 'update_endpoint' => '/livewire/update', /* |-------------------------------------------------------------------------- | Livewire Endpoint Middleware Group |-------------------------------------------------------------------------- | | This value sets the middleware group that will be applied to the main | Livewire "message" endpoint (the endpoint that gets hit everytime | a Livewire component updates). It is set to "web" by default. | */ 'middleware_group' => 'web', /* |-------------------------------------------------------------------------- | Livewire Temporary File Uploads Endpoint Configuration |-------------------------------------------------------------------------- | | Livewire handles file uploads by storing uploads in a temporary directory | before the file is stored permanently. All file uploads are directed | to a global endpoint for temporary storage. Here you may configure. | */ 'temporary_file_upload' => [ 'disk' => null, 'rules' => null, 'directory' => null, 'middleware' => null, 'preview_mimes' => [ 'png', 'gif', 'bmp', 'svg', 'wav', 'mp4', 'mov', 'avi', 'wmv', 'mp3', 'm4a', 'jpg', 'jpeg', 'mpga', 'webp', 'wma', ], 'max_upload_time' => 5, 'cleanup' => true, ], /* |-------------------------------------------------------------------------- | Render On Redirect |-------------------------------------------------------------------------- | | This value determines if Livewire will render before it's redirected | or not. Setting it to "false" will mean the render method is skipped | when performing a redirect, potentially improving performances. | */ 'render_on_redirect' => false, /* |-------------------------------------------------------------------------- | Navigate (SPA mode) |-------------------------------------------------------------------------- | | By default, Livewire uses the "replace" strategy for SPA navigation | which can sometimes cause issues with subdirectory deployments. | */ 'navigate' => [ 'show_progress_bar' => true, 'progress_bar_color' => '#2299dd', ], /* |-------------------------------------------------------------------------- | Inject Assets |-------------------------------------------------------------------------- | | By default, Livewire automatically injects its JavaScript and styles | into the and of your pages. If you want to disable | this behavior and manually include assets, set this to false. | */ 'inject_assets' => true, ];