Skip to content

Commit 19ee986

Browse files
CrazyBoy49zQuentin Schmick
and
Quentin Schmick
authored
fix redirect from subdomain (#274)
Fix redirect from subdomain when setting not exist https://github.com/MesutErdemir/laravel-totem/blob/2a71a281baa5f1bc80b63c54249607a63a6fd3ea/config/totem.php#L221 Co-authored-by: Quentin Schmick <quentin.schmick@nathanjames.com>
1 parent 6fb6fd9 commit 19ee986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/TotemRouteServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function map()
5454
*/
5555
protected function mapWebRoutes()
5656
{
57-
Route::prefix(config('totem.web.route_prefix'))
57+
Route::prefix(config('totem.web.route_prefix', 'totem'))
5858
->middleware(config('totem.web.middleware'))
5959
->namespace($this->namespace)
6060
->group(__DIR__.'/../../routes/web.php');

0 commit comments

Comments
 (0)