app/Providers/RouteServiceProvider.php
/**
     * Define your route model bindings, pattern filters, etc.
     *
     * @return void
     */
Define your route model bindings, pattern filters, etc.
@return void
Define your route model bindings pattern filters etc . @return void
public function boot()
    {
        parent::boot();
         FORCE TO GET THE URL FROM CONFIG
        $url = $this->app['url'];
         Force the application URL
        $url->forceRootUrl(config('app.url'));
    }
public function boot ( ) { parent :: boot ( ) ; $ url = $ this -> app [ 'url' ] ; $ url -> forceRootUrl ( config ( 'app.url' ) ) ; }
Define your route model bindings, pattern filters, etc.
Define your route model bindings pattern filters etc .
// // FORCE TO GET THE URL FROM CONFIG /** @var \Illuminate\Routing\UrlGenerator $url */ // Force the application URL