This PR allows the user to specify their own route middleware name, e.g. web (or their own custom blast-specific one), in order to hook into middleware on storybook preview requests.
Example use-case: I found that I needed this in order to use Livewire fetch requests within Storybook, as it was bypassing the CSRF middleware and failing.
While web might have been an acceptable config default, I went with null to be fully non-breaking.
This PR allows the user to specify their own route middleware name, e.g.
web
(or their own custom blast-specific one), in order to hook into middleware on storybook preview requests.Example use-case: I found that I needed this in order to use Livewire fetch requests within Storybook, as it was bypassing the CSRF middleware and failing.
While
web
might have been an acceptable config default, I went withnull
to be fully non-breaking.