diff --git a/routes/web.php b/routes/web.php index 8f6bfd5f..eb15c823 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,8 +13,8 @@ use Illuminate\Http\Request; | */ -if (\Config::get('app.url') !== 'http://localhost') { - URL::forceRootUrl(\Config::get('app.url')); +if (config('app.url') !== 'http://localhost') { + URL::forceRootUrl(config('app.url')); } Route::get('/userselect/{user}', 'Auth\LoginController@setUser')->name('user.set');