There was an error while loading. Please reload this page.
1 parent 92a52f0 commit af57188Copy full SHA for af57188
1 file changed
src/DuskServiceProvider.php
@@ -14,7 +14,7 @@ class DuskServiceProvider extends ServiceProvider
14
*/
15
public function boot()
16
{
17
- if (! $this->app->environment('production')) {
+ if ($this->app->environment(config('dusk.environments', ['local', 'testing']))) {
18
Route::group(array_filter([
19
'prefix' => config('dusk.path', '_dusk'),
20
'domain' => config('dusk.domain', null),
0 commit comments