laravel-pwa
laravel-pwa copied to clipboard
Allow the middleware to be configured in the config file
This PR adds a new config setting that allows user-land to set the middleware being used in /offline and /manifest.json.
This is added for apps that doesn't use the web middleware.
// laravelpwa.php
return [
'middleware' => ['web'],
];