public function registerDomainAwareness()
    {
        $this->app->resolving(RouteGenerator::class, function (RouteGenerator $generator, Application $app) {
            $generator->setBaseUrl($app->make('config')->get('app.url'));
        });
    }